#254392#254392

#254392 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.135 H 265.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#254392
RGBrgb(37, 67, 146)
HSLhsl(223, 60%, 36%)
HSVhsv(223, 75%, 57%)
CMYKcmyk(74.7%, 54.1%, 0%, 42.7%)
CIE-LABlab(30.60, 17.87, -46.87)
CIE-LCHlch(30.60, 50.17, 290.87°)
OKLaboklab(40.81% -0.0114 -0.1349)
OKLCHoklch(40.81% 0.135 265.2)
XYZxyz(7.9566, 6.4821, 28.0204)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254392 #927425
analogous
#257992 #254392 #3D2592
triadic
#254392 #922543 #439225
tetradic
#254392 #922579 #927425 #25923D
square
#254392 #922579 #927425 #25923D
split-complementary
#254392 #923D25 #799225
monochromatic
#0C1630 #192D61 #254392 #3159C3 #5C7DD6

Accessibility & contrast

On white

9.14
#254392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#254392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254392
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254392#FFFFFF#000000##FFFFFF
##2543921.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4D95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254392;
/* rgb */ color: rgb(37, 67, 146);
/* oklch */ color: oklch(40.8% 0.135 265.2);
Tailwind
colors: {
  custom: {
    50: '#6f76b3',
    500: '#254392',
    950: '#000000',
  },
}
SCSS
$custom: #254392;
$custom-light: #6f76b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254392",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 223.486,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40811,
    "c": 0.13539,
    "h": 265.2
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254392

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

Preview Lab → · Contrast checker → · Palette generator →

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