#254089#254089

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

Color values

HEX#254089
RGBrgb(37, 64, 137)
HSLhsl(224, 57%, 34%)
HSVhsv(224, 73%, 54%)
CMYKcmyk(73%, 53.3%, 0%, 46.3%)
CIE-LABlab(29.07, 16.41, -43.80)
CIE-LCHlch(29.07, 46.78, 290.53°)
OKLaboklab(39.44% -0.0097 -0.1259)
OKLCHoklch(39.44% 0.126 265.6)
XYZxyz(7.1101, 5.8655, 24.4195)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254089 #896E25
analogous
#257289 #254089 #3C2589
triadic
#254089 #892540 #408925
tetradic
#254089 #892572 #896E25 #25893C
square
#254089 #892572 #896E25 #25893C
split-complementary
#254089 #893C25 #728925
monochromatic
#0B1329 #182959 #254089 #3257B9 #5778D2

Accessibility & contrast

On white

9.66
#254089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#254089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254089
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254089#FFFFFF#000000##FFFFFF
##2540891.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254089;
/* rgb */ color: rgb(37, 64, 137);
/* oklch */ color: oklch(39.4% 0.126 265.6);
Tailwind
colors: {
  custom: {
    50: '#6d74ac',
    500: '#254089',
    950: '#000000',
  },
}
SCSS
$custom: #254089;
$custom-light: #6d74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#254089",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 223.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39442,
    "c": 0.1263,
    "h": 265.6
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#254089
secondary
#B69B54
accent
#B747E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #254089

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

Preview Lab → · Contrast checker → · Palette generator →

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