#287CDA

A color in the Blue, Sky, Navy family

#287cda is a color in the Blue, Sky, Navy family: RGB(40, 124, 218), HSL(212°, 71%, 51%), CMYK(82%, 43%, 0%, 15%). Closest named color: royalblue. Contrast is 4.21:1 on white and 4.99:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#287cda
RGBrgb(40 124 218)
RGB (legacy)rgb(40, 124, 218)
RGB %rgb(16% 49% 85%)
HSLhsl(212 71% 51%)
HSV / HSBhsv(212, 82%, 85%)
HWBhwb(212 16% 15%)
CMYKcmyk(82%, 43%, 0%, 15%)
CIELAB (D50)lab(50.89 1.2 -56.21)
LCHlch(50.89 56.22 271.23)
OKLaboklab(0.5862 -0.0439 -0.1578)
OKLCHoklch(0.5862 0.1638 254.44)
Decimal2653402

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 5.1
Closest web-safe color#3366cc
Hue212°
Saturation (HSL / HSV)71% / 82%
Lightness (HSL)51%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)43% / 44%
Relative luminance (WCAG)0.1993
Red / Green / Blue40 / 124 / 218

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.99:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 68.6 / -33.1 · As background with white / black text: Lc -74.1 / 35.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #287cda;
  --color-brand-oklch: oklch(58.62% 0.1638 254.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 124 218 / 50%); }
/* Tailwind CSS */
<div class="bg-[#287cda] text-[#287cda] border-[#287cda]">