#254CAE#254CAE

#254CAE is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.163 H 264.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#254CAE
RGBrgb(37, 76, 174)
HSLhsl(223, 65%, 41%)
HSVhsv(223, 79%, 68%)
CMYKcmyk(78.7%, 56.3%, 0%, 31.8%)
CIE-LABlab(35.24, 22.70, -56.23)
CIE-LCHlch(35.24, 60.64, 291.99°)
OKLaboklab(44.99% -0.0161 -0.1623)
OKLCHoklch(44.99% 0.163 264.3)
XYZxyz(10.9847, 8.6169, 41.1205)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CAE #AE8725
analogous
#2591AE #254CAE #4325AE
triadic
#254CAE #AE254C #4CAE25
tetradic
#254CAE #AE2591 #AE8725 #25AE43
square
#254CAE #AE2591 #AE8725 #25AE43
split-complementary
#254CAE #AE4325 #91AE25
monochromatic
#102049 #1A367C #254CAE #3B67D5 #6D8EE0

Accessibility & contrast

On white

7.71
#254CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254CAE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CAE#FFFFFF#000000##FFFFFF
##254CAE1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254cae;
/* rgb */ color: rgb(37, 76, 174);
/* oklch */ color: oklch(45.0% 0.163 264.3);
Tailwind
colors: {
  custom: {
    50: '#757dc7',
    500: '#254cae',
    950: '#000000',
  },
}
SCSS
$custom: #254cae;
$custom-light: #757dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#254cae",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 222.92,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44988,
    "c": 0.16305,
    "h": 264.3
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#254CAE
secondary
#C6AC68
accent
#B840E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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