#254FAE#254FAE

#254FAE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.159 H 263.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#254FAE
RGBrgb(37, 79, 174)
HSLhsl(222, 65%, 41%)
HSVhsv(222, 79%, 68%)
CMYKcmyk(78.7%, 54.6%, 0%, 31.8%)
CIE-LABlab(36.06, 20.70, -54.89)
CIE-LCHlch(36.06, 58.66, 290.66°)
OKLaboklab(45.61% -0.0182 -0.1583)
OKLCHoklch(45.61% 0.159 263.4)
XYZxyz(11.1962, 9.0400, 41.1910)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254FAE #AE8425
analogous
#2594AE #254FAE #4025AE
triadic
#254FAE #AE254F #4FAE25
tetradic
#254FAE #AE2594 #AE8425 #25AE40
square
#254FAE #AE2594 #AE8425 #25AE40
split-complementary
#254FAE #AE4025 #94AE25
monochromatic
#102149 #1A387C #254FAE #3B6AD5 #6D91E0

Accessibility & contrast

On white

7.48
#254FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#254FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254FAE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254FAE#FFFFFF#000000##FFFFFF
##254FAE1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254fae;
/* rgb */ color: rgb(37, 79, 174);
/* oklch */ color: oklch(45.6% 0.159 263.4);
Tailwind
colors: {
  custom: {
    50: '#757fc7',
    500: '#254fae',
    950: '#000000',
  },
}
SCSS
$custom: #254fae;
$custom-light: #757fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#254fae",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 221.606,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.15932,
    "h": 263.4
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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