#254996#254996

#254996 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.133 H 263.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#254996
RGBrgb(37, 73, 150)
HSLhsl(221, 60%, 37%)
HSVhsv(221, 75%, 59%)
CMYKcmyk(75.3%, 51.3%, 0%, 41.2%)
CIE-LABlab(32.61, 15.36, -46.06)
CIE-LCHlch(32.61, 48.55, 288.44°)
OKLaboklab(42.44% -0.0161 -0.1324)
OKLCHoklch(42.44% 0.133 263.1)
XYZxyz(8.6486, 7.3595, 29.8130)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254996 #967225
analogous
#258296 #254996 #3A2596
triadic
#254996 #962549 #499625
tetradic
#254996 #962582 #967225 #25963A
square
#254996 #962582 #967225 #25963A
split-complementary
#254996 #963A25 #829625
monochromatic
#0D1934 #193165 #254996 #3161C7 #5E85D7

Accessibility & contrast

On white

8.50
#254996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#254996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254996
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254996#FFFFFF#000000##FFFFFF
##2549961.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254996;
/* rgb */ color: rgb(37, 73, 150);
/* oklch */ color: oklch(42.4% 0.133 263.1);
Tailwind
colors: {
  custom: {
    50: '#707bb5',
    500: '#254996',
    950: '#000000',
  },
}
SCSS
$custom: #254996;
$custom-light: #707bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#254996",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 220.885,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.13337,
    "h": 263.1
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#254996
secondary
#BC9D5B
accent
#B144E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254996

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

Preview Lab → · Contrast checker → · Palette generator →

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