#254292#254292

#254292 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.137 H 265.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#254292
RGBrgb(37, 66, 146)
HSLhsl(224, 60%, 36%)
HSVhsv(224, 75%, 57%)
CMYKcmyk(74.7%, 54.8%, 0%, 42.7%)
CIE-LABlab(30.31, 18.56, -47.33)
CIE-LCHlch(30.31, 50.84, 291.41°)
OKLaboklab(40.6% -0.0105 -0.1363)
OKLCHoklch(40.6% 0.137 265.6)
XYZxyz(7.8976, 6.3642, 28.0008)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254292 #927525
analogous
#257892 #254292 #3E2592
triadic
#254292 #922542 #429225
tetradic
#254292 #922578 #927525 #25923E
square
#254292 #922578 #927525 #25923E
split-complementary
#254292 #923E25 #789225
monochromatic
#0C1630 #192C61 #254292 #3158C3 #5C7CD6

Accessibility & contrast

On white

9.24
#254292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#254292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254292
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254292#FFFFFF#000000##FFFFFF
##2542921.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044D95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254292;
/* rgb */ color: rgb(37, 66, 146);
/* oklch */ color: oklch(40.6% 0.137 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f75b3',
    500: '#254292',
    950: '#000000',
  },
}
SCSS
$custom: #254292;
$custom-light: #6f75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254292",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 224.037,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40596,
    "c": 0.13669,
    "h": 265.6
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#254292
secondary
#BAA058
accent
#B945E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254292

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

Preview Lab → · Contrast checker → · Palette generator →

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