#254591#254591

#254591 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.131 H 264.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#254591
RGBrgb(37, 69, 145)
HSLhsl(222, 59%, 36%)
HSVhsv(222, 74%, 57%)
CMYKcmyk(74.5%, 52.4%, 0%, 43.1%)
CIE-LABlab(31.10, 16.12, -45.45)
CIE-LCHlch(31.10, 48.23, 289.52°)
OKLaboklab(41.17% -0.0132 -0.1307)
OKLCHoklch(41.17% 0.131 264.2)
XYZxyz(8.0001, 6.6930, 27.6528)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254591 #917125
analogous
#257B91 #254591 #3B2591
triadic
#254591 #912545 #459125
tetradic
#254591 #91257B #917125 #25913B
square
#254591 #91257B #917125 #25913B
split-complementary
#254591 #913B25 #7B9125
monochromatic
#0C172F #192E60 #254591 #315CC2 #5B7FD5

Accessibility & contrast

On white

8.98
#254591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#254591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254591
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254591#FFFFFF#000000##FFFFFF
##2545911.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254591;
/* rgb */ color: rgb(37, 69, 145);
/* oklch */ color: oklch(41.2% 0.131 264.2);
Tailwind
colors: {
  custom: {
    50: '#6f78b2',
    500: '#254591',
    950: '#000000',
  },
}
SCSS
$custom: #254591;
$custom-light: #6f78b2;
$custom-dark: #000000;
JSON
{
  "hex": "#254591",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 222.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.13136,
    "h": 264.2
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#254591
secondary
#BA9D58
accent
#B445E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254591

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

Preview Lab → · Contrast checker → · Palette generator →

#254591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva