#254896#254896

#254896 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.135 H 263.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#254896
RGBrgb(37, 72, 150)
HSLhsl(221, 60%, 37%)
HSVhsv(221, 75%, 59%)
CMYKcmyk(75.3%, 52%, 0%, 41.2%)
CIE-LABlab(32.32, 16.04, -46.52)
CIE-LCHlch(32.32, 49.21, 289.02°)
OKLaboklab(42.22% -0.0152 -0.1338)
OKLCHoklch(42.22% 0.135 263.5)
XYZxyz(8.5834, 7.2291, 29.7912)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254896 #967325
analogous
#258196 #254896 #3B2596
triadic
#254896 #962548 #489625
tetradic
#254896 #962581 #967325 #25963B
square
#254896 #962581 #967325 #25963B
split-complementary
#254896 #963B25 #819625
monochromatic
#0D1934 #193065 #254896 #3160C7 #5E84D7

Accessibility & contrast

On white

8.59
#254896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#254896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254896
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254896#FFFFFF#000000##FFFFFF
##2548961.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254896;
/* rgb */ color: rgb(37, 72, 150);
/* oklch */ color: oklch(42.2% 0.135 263.5);
Tailwind
colors: {
  custom: {
    50: '#707ab5',
    500: '#254896',
    950: '#000000',
  },
}
SCSS
$custom: #254896;
$custom-light: #707ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#254896",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 221.416,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.13465,
    "h": 263.5
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#254896
secondary
#BC9E5B
accent
#B244E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254896

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

Preview Lab → · Contrast checker → · Palette generator →

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