#254592#254592

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

Color values

HEX#254592
RGBrgb(37, 69, 146)
HSLhsl(222, 60%, 36%)
HSVhsv(222, 75%, 57%)
CMYKcmyk(74.7%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.17, 16.51, -45.95)
CIE-LCHlch(31.17, 48.82, 289.76°)
OKLaboklab(41.25% -0.0131 -0.1321)
OKLCHoklch(41.25% 0.133 264.3)
XYZxyz(8.0775, 6.7240, 28.0607)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254592 #927225
analogous
#257B92 #254592 #3B2592
triadic
#254592 #922545 #459225
tetradic
#254592 #92257B #927225 #25923B
square
#254592 #92257B #927225 #25923B
split-complementary
#254592 #923B25 #7B9225
monochromatic
#0C1730 #192E61 #254592 #315CC3 #5C80D6

Accessibility & contrast

On white

8.96
#254592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#254592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254592
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254592#FFFFFF#000000##FFFFFF
##2545921.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254592;
/* rgb */ color: rgb(37, 69, 146);
/* oklch */ color: oklch(41.2% 0.133 264.3);
Tailwind
colors: {
  custom: {
    50: '#6f78b2',
    500: '#254592',
    950: '#000000',
  },
}
SCSS
$custom: #254592;
$custom-light: #6f78b2;
$custom-dark: #000000;
JSON
{
  "hex": "#254592",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 222.385,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.1328,
    "h": 264.3
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#254592
secondary
#BA9E58
accent
#B445E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254592

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

Preview Lab → · Contrast checker → · Palette generator →

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