#254EAE#254EAE

#254EAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.161 H 263.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#254EAE
RGBrgb(37, 78, 174)
HSLhsl(222, 65%, 41%)
HSVhsv(222, 79%, 68%)
CMYKcmyk(78.7%, 55.2%, 0%, 31.8%)
CIE-LABlab(35.78, 21.37, -55.34)
CIE-LCHlch(35.78, 59.32, 291.11°)
OKLaboklab(45.4% -0.0175 -0.1596)
OKLCHoklch(45.4% 0.161 263.7)
XYZxyz(11.1246, 8.8968, 41.1671)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254EAE #AE8525
analogous
#2593AE #254EAE #4125AE
triadic
#254EAE #AE254E #4EAE25
tetradic
#254EAE #AE2593 #AE8525 #25AE41
square
#254EAE #AE2593 #AE8525 #25AE41
split-complementary
#254EAE #AE4125 #93AE25
monochromatic
#102149 #1A377C #254EAE #3B69D5 #6D90E0

Accessibility & contrast

On white

7.56
#254EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#254EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254EAE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254EAE#FFFFFF#000000##FFFFFF
##254EAE1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #254eae;
/* rgb */ color: rgb(37, 78, 174);
/* oklch */ color: oklch(45.4% 0.161 263.7);
Tailwind
colors: {
  custom: {
    50: '#757fc7',
    500: '#254eae',
    950: '#000000',
  },
}
SCSS
$custom: #254eae;
$custom-light: #757fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#254eae",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 222.044,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.16056,
    "h": 263.7
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#254EAE
secondary
#C6AA68
accent
#B640E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #254EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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