#254DAA#254DAA

#254DAA is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.156 H 263.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#254DAA
RGBrgb(37, 77, 170)
HSLhsl(222, 64%, 41%)
HSVhsv(222, 78%, 67%)
CMYKcmyk(78.2%, 54.7%, 0%, 33.3%)
CIE-LABlab(35.21, 20.48, -53.89)
CIE-LCHlch(35.21, 57.66, 290.81°)
OKLaboklab(44.87% -0.0171 -0.1554)
OKLCHoklch(44.87% 0.156 263.7)
XYZxyz(10.6699, 8.6021, 39.1204)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DAA #AA8225
analogous
#258FAA #254DAA #4025AA
triadic
#254DAA #AA254D #4DAA25
tetradic
#254DAA #AA258F #AA8225 #25AA40
square
#254DAA #AA258F #AA8225 #25AA40
split-complementary
#254DAA #AA4025 #8FAA25
monochromatic
#0F1F45 #1A3678 #254DAA #3867D4 #6B8EDF

Accessibility & contrast

On white

7.72
#254DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#254DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254DAA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254DAA#FFFFFF#000000##FFFFFF
##254DAA1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254daa;
/* rgb */ color: rgb(37, 77, 170);
/* oklch */ color: oklch(44.9% 0.156 263.7);
Tailwind
colors: {
  custom: {
    50: '#747ec4',
    500: '#254daa',
    950: '#000000',
  },
}
SCSS
$custom: #254daa;
$custom-light: #747ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#254daa",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 221.955,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.15632,
    "h": 263.7
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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