#254494#254494

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

Color values

HEX#254494
RGBrgb(37, 68, 148)
HSLhsl(223, 60%, 36%)
HSVhsv(223, 75%, 58%)
CMYKcmyk(75%, 54.1%, 0%, 42%)
CIE-LABlab(31.03, 17.97, -47.39)
CIE-LCHlch(31.03, 50.69, 290.77°)
OKLaboklab(41.19% -0.012 -0.1364)
OKLCHoklch(41.19% 0.137 265)
XYZxyz(8.1735, 6.6648, 28.8669)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254494 #947525
analogous
#257C94 #254494 #3E2594
triadic
#254494 #942544 #449425
tetradic
#254494 #94257C #947525 #25943E
square
#254494 #94257C #947525 #25943E
split-complementary
#254494 #943E25 #7C9425
monochromatic
#0D1732 #192E63 #254494 #315AC5 #5D7FD6

Accessibility & contrast

On white

9.00
#254494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#254494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254494
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254494#FFFFFF#000000##FFFFFF
##2544941.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254494;
/* rgb */ color: rgb(37, 68, 148);
/* oklch */ color: oklch(41.2% 0.137 265.0);
Tailwind
colors: {
  custom: {
    50: '#7077b4',
    500: '#254494',
    950: '#000000',
  },
}
SCSS
$custom: #254494;
$custom-light: #7077b4;
$custom-dark: #000000;
JSON
{
  "hex": "#254494",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 148
  },
  "hsl": {
    "h": 223.243,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.13695,
    "h": 265
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#254494
secondary
#BBA059
accent
#B745E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254494

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

Preview Lab → · Contrast checker → · Palette generator →

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