#254CA9#254CA9

#254CA9 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.156 H 264.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#254CA9
RGBrgb(37, 76, 169)
HSLhsl(222, 64%, 40%)
HSVhsv(222, 78%, 66%)
CMYKcmyk(78.1%, 55%, 0%, 33.7%)
CIE-LABlab(34.85, 20.76, -53.87)
CIE-LCHlch(34.85, 57.73, 291.08°)
OKLaboklab(44.58% -0.0165 -0.1553)
OKLCHoklch(44.58% 0.156 264)
XYZxyz(10.5063, 8.4256, 38.6010)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CA9 #A98225
analogous
#258EA9 #254CA9 #4025A9
triadic
#254CA9 #A9254C #4CA925
tetradic
#254CA9 #A9258E #A98225 #25A940
square
#254CA9 #A9258E #A98225 #25A940
split-complementary
#254CA9 #A94025 #8EA925
monochromatic
#0F1F45 #1A3577 #254CA9 #3866D3 #6A8CDE

Accessibility & contrast

On white

7.82
#254CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#254CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CA9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CA9#FFFFFF#000000##FFFFFF
##254CA91.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #254ca9;
/* rgb */ color: rgb(37, 76, 169);
/* oklch */ color: oklch(44.6% 0.156 264.0);
Tailwind
colors: {
  custom: {
    50: '#747dc3',
    500: '#254ca9',
    950: '#000000',
  },
}
SCSS
$custom: #254ca9;
$custom-light: #747dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#254ca9",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 222.273,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44579,
    "c": 0.1562,
    "h": 264
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#254CA9
secondary
#C4A865
accent
#B641E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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