#254DAE#254DAE

#254DAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.162 H 264.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#254DAE
RGBrgb(37, 77, 174)
HSLhsl(222, 65%, 41%)
HSVhsv(222, 79%, 68%)
CMYKcmyk(78.7%, 55.7%, 0%, 31.8%)
CIE-LABlab(35.51, 22.04, -55.78)
CIE-LCHlch(35.51, 59.98, 291.56°)
OKLaboklab(45.2% -0.0168 -0.1609)
OKLCHoklch(45.2% 0.162 264)
XYZxyz(11.0541, 8.7558, 41.1436)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DAE #AE8625
analogous
#2592AE #254DAE #4225AE
triadic
#254DAE #AE254D #4DAE25
tetradic
#254DAE #AE2592 #AE8625 #25AE42
square
#254DAE #AE2592 #AE8625 #25AE42
split-complementary
#254DAE #AE4225 #92AE25
monochromatic
#102049 #1A377C #254DAE #3B68D5 #6D8FE0

Accessibility & contrast

On white

7.63
#254DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#254DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254DAE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254DAE#FFFFFF#000000##FFFFFF
##254DAE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254dae;
/* rgb */ color: rgb(37, 77, 174);
/* oklch */ color: oklch(45.2% 0.162 264.0);
Tailwind
colors: {
  custom: {
    50: '#757ec7',
    500: '#254dae',
    950: '#000000',
  },
}
SCSS
$custom: #254dae;
$custom-light: #757ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#254dae",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 222.482,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.1618,
    "h": 264
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#254DAE
secondary
#C6AB68
accent
#B740E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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