#254496#254496

#254496 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.140 H 265.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#254496
RGBrgb(37, 68, 150)
HSLhsl(224, 60%, 37%)
HSVhsv(224, 75%, 59%)
CMYKcmyk(75.3%, 54.7%, 0%, 41.2%)
CIE-LABlab(31.18, 18.76, -48.37)
CIE-LCHlch(31.18, 51.88, 291.19°)
OKLaboklab(41.35% -0.0118 -0.1393)
OKLCHoklch(41.35% 0.14 265.1)
XYZxyz(8.3332, 6.7287, 29.7078)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254496 #967725
analogous
#257D96 #254496 #3F2596
triadic
#254496 #962544 #449625
tetradic
#254496 #96257D #967725 #25963F
square
#254496 #96257D #967725 #25963F
split-complementary
#254496 #963F25 #7D9625
monochromatic
#0D1734 #192E65 #254496 #315AC7 #5E7FD7

Accessibility & contrast

On white

8.95
#254496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254496
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254496#FFFFFF#000000##FFFFFF
##2544961.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254496;
/* rgb */ color: rgb(37, 68, 150);
/* oklch */ color: oklch(41.3% 0.140 265.1);
Tailwind
colors: {
  custom: {
    50: '#7077b5',
    500: '#254496',
    950: '#000000',
  },
}
SCSS
$custom: #254496;
$custom-light: #7077b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254496",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 223.54,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.1398,
    "h": 265.1
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#254496
secondary
#BCA15B
accent
#B844E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254496

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

Preview Lab → · Contrast checker → · Palette generator →

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