#254091#254091

#254091 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.138 H 266.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#254091
RGBrgb(37, 64, 145)
HSLhsl(225, 59%, 36%)
HSVhsv(225, 74%, 57%)
CMYKcmyk(74.5%, 55.9%, 0%, 43.1%)
CIE-LABlab(29.67, 19.54, -47.76)
CIE-LCHlch(29.67, 51.60, 292.25°)
OKLaboklab(40.09% -0.009 -0.1376)
OKLCHoklch(40.09% 0.138 266.3)
XYZxyz(7.7054, 6.1036, 27.5546)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254091 #917625
analogous
#257691 #254091 #402591
triadic
#254091 #912540 #409125
tetradic
#254091 #912576 #917625 #259140
square
#254091 #912576 #917625 #259140
split-complementary
#254091 #914025 #769125
monochromatic
#0C152F #192A60 #254091 #3156C2 #5B7AD5

Accessibility & contrast

On white

9.46
#254091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#254091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254091
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254091#FFFFFF#000000##FFFFFF
##2540911.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254091;
/* rgb */ color: rgb(37, 64, 145);
/* oklch */ color: oklch(40.1% 0.138 266.3);
Tailwind
colors: {
  custom: {
    50: '#6f74b2',
    500: '#254091',
    950: '#000000',
  },
}
SCSS
$custom: #254091;
$custom-light: #6f74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#254091",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 225,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.13786,
    "h": 266.3
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254091

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

Preview Lab → · Contrast checker → · Palette generator →

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