#254B91#254B91

#254B91 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.5% C 0.124 H 261.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#254B91
RGBrgb(37, 75, 145)
HSLhsl(219, 59%, 36%)
HSVhsv(219, 74%, 57%)
CMYKcmyk(74.5%, 48.3%, 0%, 43.1%)
CIE-LABlab(32.85, 12.04, -42.63)
CIE-LCHlch(32.85, 44.29, 285.78°)
OKLaboklab(42.51% -0.0186 -0.1223)
OKLCHoklch(42.51% 0.124 261.4)
XYZxyz(8.3880, 7.4689, 27.7821)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B91 #916B25
analogous
#258191 #254B91 #352591
triadic
#254B91 #91254B #4B9125
tetradic
#254B91 #912581 #916B25 #259135
square
#254B91 #912581 #916B25 #259135
split-complementary
#254B91 #913525 #819125
monochromatic
#0C192F #193260 #254B91 #3164C2 #5B86D5

Accessibility & contrast

On white

8.42
#254B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#254B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B91
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B91#FFFFFF#000000##FFFFFF
##254B911.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255394
Deuteranopia (green-blind)
#094990
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254b91;
/* rgb */ color: rgb(37, 75, 145);
/* oklch */ color: oklch(42.5% 0.124 261.4);
Tailwind
colors: {
  custom: {
    50: '#6f7cb2',
    500: '#254b91',
    950: '#000000',
  },
}
SCSS
$custom: #254b91;
$custom-light: #6f7cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#254b91",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 145
  },
  "hsl": {
    "h": 218.889,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.12367,
    "h": 261.4
  },
  "luminance": 0.0747
}

Semantic roles & 50–950 ramp

primary
#254B91
secondary
#BA9758
accent
#AB45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254B91

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

Preview Lab → · Contrast checker → · Palette generator →

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