#254191#254191

#254191 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.137 H 265.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#254191
RGBrgb(37, 65, 145)
HSLhsl(224, 59%, 36%)
HSVhsv(224, 74%, 57%)
CMYKcmyk(74.5%, 55.2%, 0%, 43.1%)
CIE-LABlab(29.95, 18.85, -47.30)
CIE-LCHlch(29.95, 50.92, 291.73°)
OKLaboklab(40.3% -0.0098 -0.1362)
OKLCHoklch(40.3% 0.137 265.9)
XYZxyz(7.7623, 6.2174, 27.5736)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254191 #917525
analogous
#257791 #254191 #3F2591
triadic
#254191 #912541 #419125
tetradic
#254191 #912577 #917525 #25913F
square
#254191 #912577 #917525 #25913F
split-complementary
#254191 #913F25 #779125
monochromatic
#0C152F #192B60 #254191 #3157C2 #5B7BD5

Accessibility & contrast

On white

9.36
#254191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#254191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254191
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254191#FFFFFF#000000##FFFFFF
##2541911.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014C94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254191;
/* rgb */ color: rgb(37, 65, 145);
/* oklch */ color: oklch(40.3% 0.137 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f75b2',
    500: '#254191',
    950: '#000000',
  },
}
SCSS
$custom: #254191;
$custom-light: #6f75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#254191",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 224.444,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40301,
    "c": 0.13656,
    "h": 265.9
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#254191
secondary
#BAA158
accent
#BA45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254191

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

Preview Lab → · Contrast checker → · Palette generator →

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