#254286#254286

#254286 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.119 H 264.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#254286
RGBrgb(37, 66, 134)
HSLhsl(222, 57%, 34%)
HSVhsv(222, 72%, 53%)
CMYKcmyk(72.4%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.44, 13.85, -41.35)
CIE-LCHlch(29.44, 43.61, 288.52°)
OKLaboklab(39.65% -0.0119 -0.1187)
OKLCHoklch(39.65% 0.119 264.3)
XYZxyz(7.0127, 6.0103, 23.3401)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254286 #866925
analogous
#257286 #254286 #382586
triadic
#254286 #862542 #428625
tetradic
#254286 #862572 #866925 #258638
square
#254286 #862572 #866925 #258638
split-complementary
#254286 #863825 #728625
monochromatic
#0B1326 #182A56 #254286 #325AB6 #557AD0

Accessibility & contrast

On white

9.54
#254286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#254286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254286
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254286#FFFFFF#000000##FFFFFF
##2542861.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A88
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254286;
/* rgb */ color: rgb(37, 66, 134);
/* oklch */ color: oklch(39.7% 0.119 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d75aa',
    500: '#254286',
    950: '#000000',
  },
}
SCSS
$custom: #254286;
$custom-light: #6d75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#254286",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 222.062,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39653,
    "c": 0.11927,
    "h": 264.3
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#254286
secondary
#B49752
accent
#B248E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254286

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#254286 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva