#254AA9#254AA9

#254AA9 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.159 H 264.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#254AA9
RGBrgb(37, 74, 169)
HSLhsl(223, 64%, 40%)
HSVhsv(223, 78%, 66%)
CMYKcmyk(78.1%, 56.2%, 0%, 33.7%)
CIE-LABlab(34.30, 22.10, -54.77)
CIE-LCHlch(34.30, 59.06, 291.98°)
OKLaboklab(44.16% -0.015 -0.158)
OKLCHoklch(44.16% 0.159 264.6)
XYZxyz(10.3706, 8.1543, 38.5558)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254AA9 #A98425
analogous
#258CA9 #254AA9 #4225A9
triadic
#254AA9 #A9254A #4AA925
tetradic
#254AA9 #A9258C #A98425 #25A942
square
#254AA9 #A9258C #A98425 #25A942
split-complementary
#254AA9 #A94225 #8CA925
monochromatic
#0F1E45 #1A3477 #254AA9 #3863D3 #6A8BDE

Accessibility & contrast

On white

7.98
#254AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#254AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254AA9
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254AA9#FFFFFF#000000##FFFFFF
##254AA91.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #254aa9;
/* rgb */ color: rgb(37, 74, 169);
/* oklch */ color: oklch(44.2% 0.159 264.6);
Tailwind
colors: {
  custom: {
    50: '#747cc3',
    500: '#254aa9',
    950: '#000000',
  },
}
SCSS
$custom: #254aa9;
$custom-light: #747cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#254aa9",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 223.182,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44163,
    "c": 0.15871,
    "h": 264.6
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#254AA9
secondary
#C4AA65
accent
#B841E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254AA9

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

Preview Lab → · Contrast checker → · Palette generator →

#254AA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva