#254186#254186

#254186 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.121 H 264.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#254186
RGBrgb(37, 65, 134)
HSLhsl(223, 57%, 34%)
HSVhsv(223, 72%, 53%)
CMYKcmyk(72.4%, 51.5%, 0%, 47.5%)
CIE-LABlab(29.14, 14.54, -41.83)
CIE-LCHlch(29.14, 44.28, 289.17°)
OKLaboklab(39.43% -0.0109 -0.1201)
OKLCHoklch(39.43% 0.121 264.8)
XYZxyz(6.9548, 5.8944, 23.3208)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254186 #866A25
analogous
#257186 #254186 #392586
triadic
#254186 #862541 #418625
tetradic
#254186 #862571 #866A25 #258639
square
#254186 #862571 #866A25 #258639
split-complementary
#254186 #863925 #718625
monochromatic
#0B1226 #182A56 #254186 #3258B6 #5579D0

Accessibility & contrast

On white

9.64
#254186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#254186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254186
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254186#FFFFFF#000000##FFFFFF
##2541861.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194989
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254186;
/* rgb */ color: rgb(37, 65, 134);
/* oklch */ color: oklch(39.4% 0.121 264.8);
Tailwind
colors: {
  custom: {
    50: '#6d75aa',
    500: '#254186',
    950: '#000000',
  },
}
SCSS
$custom: #254186;
$custom-light: #6d75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#254186",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 222.68,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.1206,
    "h": 264.8
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#254186
secondary
#B49852
accent
#B448E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254186

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

Preview Lab → · Contrast checker → · Palette generator →

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