#254394#254394

#254394 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.138 H 265.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#254394
RGBrgb(37, 67, 148)
HSLhsl(224, 60%, 36%)
HSVhsv(224, 75%, 58%)
CMYKcmyk(75%, 54.7%, 0%, 42%)
CIE-LABlab(30.75, 18.66, -47.85)
CIE-LCHlch(30.75, 51.36, 291.30°)
OKLaboklab(40.97% -0.0112 -0.1378)
OKLCHoklch(40.97% 0.138 265.4)
XYZxyz(8.1135, 6.5449, 28.8469)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254394 #947625
analogous
#257B94 #254394 #3F2594
triadic
#254394 #942543 #439425
tetradic
#254394 #94257B #947625 #25943F
square
#254394 #94257B #947625 #25943F
split-complementary
#254394 #943F25 #7B9425
monochromatic
#0D1732 #192D63 #254394 #3159C5 #5D7ED6

Accessibility & contrast

On white

9.09
#254394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#254394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254394
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254394#FFFFFF#000000##FFFFFF
##2543941.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254394;
/* rgb */ color: rgb(37, 67, 148);
/* oklch */ color: oklch(41.0% 0.138 265.4);
Tailwind
colors: {
  custom: {
    50: '#7076b4',
    500: '#254394',
    950: '#000000',
  },
}
SCSS
$custom: #254394;
$custom-light: #7076b4;
$custom-dark: #000000;
JSON
{
  "hex": "#254394",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 223.784,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.13824,
    "h": 265.4
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#254394
secondary
#BBA159
accent
#B845E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254394

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

Preview Lab → · Contrast checker → · Palette generator →

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