#254BAA#254BAA

#254BAA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.159 H 264.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#254BAA
RGBrgb(37, 75, 170)
HSLhsl(223, 64%, 41%)
HSVhsv(223, 78%, 67%)
CMYKcmyk(78.2%, 55.9%, 0%, 33.3%)
CIE-LABlab(34.65, 21.82, -54.79)
CIE-LCHlch(34.65, 58.98, 291.72°)
OKLaboklab(44.45% -0.0156 -0.1581)
OKLCHoklch(44.45% 0.159 264.3)
XYZxyz(10.5321, 8.3265, 39.0745)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BAA #AA8425
analogous
#258DAA #254BAA #4125AA
triadic
#254BAA #AA254B #4BAA25
tetradic
#254BAA #AA258D #AA8425 #25AA41
square
#254BAA #AA258D #AA8425 #25AA41
split-complementary
#254BAA #AA4125 #8DAA25
monochromatic
#0F1F45 #1A3578 #254BAA #3865D4 #6B8CDF

Accessibility & contrast

On white

7.88
#254BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#254BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BAA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BAA#FFFFFF#000000##FFFFFF
##254BAA1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #254baa;
/* rgb */ color: rgb(37, 75, 170);
/* oklch */ color: oklch(44.5% 0.159 264.3);
Tailwind
colors: {
  custom: {
    50: '#757cc4',
    500: '#254baa',
    950: '#000000',
  },
}
SCSS
$custom: #254baa;
$custom-light: #757cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#254baa",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 170
  },
  "hsl": {
    "h": 222.857,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.15883,
    "h": 264.3
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#254BAA
secondary
#C5AA66
accent
#B841E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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