#254B9A#254B9A

#254B9A is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.137 H 262.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#254B9A
RGBrgb(37, 75, 154)
HSLhsl(221, 61%, 37%)
HSVhsv(221, 76%, 60%)
CMYKcmyk(76%, 51.3%, 0%, 39.6%)
CIE-LABlab(33.47, 15.57, -47.09)
CIE-LCHlch(33.47, 49.60, 288.30°)
OKLaboklab(43.18% -0.0173 -0.1354)
OKLCHoklch(43.18% 0.137 262.7)
XYZxyz(9.1097, 7.7576, 31.5828)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B9A #9A7425
analogous
#25869A #254B9A #3A259A
triadic
#254B9A #9A254B #4B9A25
tetradic
#254B9A #9A2586 #9A7425 #259A3A
square
#254B9A #9A2586 #9A7425 #259A3A
split-complementary
#254B9A #9A3A25 #869A25
monochromatic
#0D1B37 #193369 #254B9A #3163CB #6088D9

Accessibility & contrast

On white

8.23
#254B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#254B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B9A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B9A#FFFFFF#000000##FFFFFF
##254B9A1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #254b9a;
/* rgb */ color: rgb(37, 75, 154);
/* oklch */ color: oklch(43.2% 0.137 262.7);
Tailwind
colors: {
  custom: {
    50: '#717cb8',
    500: '#254b9a',
    950: '#000000',
  },
}
SCSS
$custom: #254b9a;
$custom-light: #717cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#254b9a",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 154
  },
  "hsl": {
    "h": 220.513,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43182,
    "c": 0.1365,
    "h": 262.7
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#254B9A
secondary
#BE9E5D
accent
#B043E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #254B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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