#254594#254594

#254594 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.136 H 264.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#254594
RGBrgb(37, 69, 148)
HSLhsl(223, 60%, 36%)
HSVhsv(223, 75%, 58%)
CMYKcmyk(75%, 53.4%, 0%, 42%)
CIE-LABlab(31.32, 17.29, -46.93)
CIE-LCHlch(31.32, 50.02, 290.23°)
OKLaboklab(41.4% -0.0129 -0.135)
OKLCHoklch(41.4% 0.136 264.6)
XYZxyz(8.2345, 6.7868, 28.8872)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254594 #947425
analogous
#257D94 #254594 #3D2594
triadic
#254594 #942545 #459425
tetradic
#254594 #94257D #947425 #25943D
square
#254594 #94257D #947425 #25943D
split-complementary
#254594 #943D25 #7D9425
monochromatic
#0D1732 #192E63 #254594 #315CC5 #5D80D6

Accessibility & contrast

On white

8.91
#254594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#254594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254594
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254594#FFFFFF#000000##FFFFFF
##2545941.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4F97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254594;
/* rgb */ color: rgb(37, 69, 148);
/* oklch */ color: oklch(41.4% 0.136 264.6);
Tailwind
colors: {
  custom: {
    50: '#7078b4',
    500: '#254594',
    950: '#000000',
  },
}
SCSS
$custom: #254594;
$custom-light: #7078b4;
$custom-dark: #000000;
JSON
{
  "hex": "#254594",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 222.703,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.13566,
    "h": 264.6
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#254594
secondary
#BB9F59
accent
#B545E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254594

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

Preview Lab → · Contrast checker → · Palette generator →

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