#254289#254289

#254289 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.124 H 264.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#254289
RGBrgb(37, 66, 137)
HSLhsl(223, 57%, 34%)
HSVhsv(223, 73%, 54%)
CMYKcmyk(73%, 51.8%, 0%, 46.3%)
CIE-LABlab(29.65, 15.03, -42.87)
CIE-LCHlch(29.65, 45.43, 289.32°)
OKLaboklab(39.88% -0.0115 -0.1231)
OKLCHoklch(39.88% 0.124 264.7)
XYZxyz(7.2249, 6.0951, 24.4578)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254289 #896C25
analogous
#257489 #254289 #3A2589
triadic
#254289 #892542 #428925
tetradic
#254289 #892574 #896C25 #25893A
square
#254289 #892574 #896C25 #25893A
split-complementary
#254289 #893A25 #748925
monochromatic
#0B1429 #182B59 #254289 #3259B9 #577AD2

Accessibility & contrast

On white

9.46
#254289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#254289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254289
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254289#FFFFFF#000000##FFFFFF
##2542891.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8C
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254289;
/* rgb */ color: rgb(37, 66, 137);
/* oklch */ color: oklch(39.9% 0.124 264.7);
Tailwind
colors: {
  custom: {
    50: '#6d75ac',
    500: '#254289',
    950: '#000000',
  },
}
SCSS
$custom: #254289;
$custom-light: #6d75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#254289",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 222.6,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.12367,
    "h": 264.7
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#254289
secondary
#B69A54
accent
#B447E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #254289

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

Preview Lab → · Contrast checker → · Palette generator →

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