#254DA9#254DA9

#254DA9 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.155 H 263.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#254DA9
RGBrgb(37, 77, 169)
HSLhsl(222, 64%, 40%)
HSVhsv(222, 78%, 66%)
CMYKcmyk(78.1%, 54.4%, 0%, 33.7%)
CIE-LABlab(35.13, 20.09, -53.42)
CIE-LCHlch(35.13, 57.07, 290.61°)
OKLaboklab(44.79% -0.0172 -0.154)
OKLCHoklch(44.79% 0.155 263.6)
XYZxyz(10.5757, 8.5644, 38.6241)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DA9 #A98125
analogous
#258FA9 #254DA9 #3F25A9
triadic
#254DA9 #A9254D #4DA925
tetradic
#254DA9 #A9258F #A98125 #25A93F
square
#254DA9 #A9258F #A98125 #25A93F
split-complementary
#254DA9 #A93F25 #8FA925
monochromatic
#0F1F45 #1A3677 #254DA9 #3867D3 #6A8DDE

Accessibility & contrast

On white

7.74
#254DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#254DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254DA9
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254DA9#FFFFFF#000000##FFFFFF
##254DA91.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254da9;
/* rgb */ color: rgb(37, 77, 169);
/* oklch */ color: oklch(44.8% 0.155 263.6);
Tailwind
colors: {
  custom: {
    50: '#747ec3',
    500: '#254da9',
    950: '#000000',
  },
}
SCSS
$custom: #254da9;
$custom-light: #747ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#254da9",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 221.818,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.15495,
    "h": 263.6
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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