#254196#254196

#254196 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.144 H 266.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#254196
RGBrgb(37, 65, 150)
HSLhsl(225, 60%, 37%)
HSVhsv(225, 75%, 59%)
CMYKcmyk(75.3%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.34, 20.80, -49.74)
CIE-LCHlch(30.34, 53.91, 292.70°)
OKLaboklab(40.71% -0.0094 -0.1434)
OKLCHoklch(40.71% 0.144 266.2)
XYZxyz(8.1563, 6.3750, 29.6489)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254196 #967A25
analogous
#257A96 #254196 #422596
triadic
#254196 #962541 #419625
tetradic
#254196 #96257A #967A25 #259642
square
#254196 #96257A #967A25 #259642
split-complementary
#254196 #964225 #7A9625
monochromatic
#0D1634 #192C65 #254196 #3156C7 #5E7CD7

Accessibility & contrast

On white

9.23
#254196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#254196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254196
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254196#FFFFFF#000000##FFFFFF
##2541961.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254196;
/* rgb */ color: rgb(37, 65, 150);
/* oklch */ color: oklch(40.7% 0.144 266.2);
Tailwind
colors: {
  custom: {
    50: '#7075b6',
    500: '#254196',
    950: '#000000',
  },
}
SCSS
$custom: #254196;
$custom-light: #7075b6;
$custom-dark: #000000;
JSON
{
  "hex": "#254196",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 225.133,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.14367,
    "h": 266.2
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#254196
secondary
#BCA45B
accent
#BC44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254196

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

Preview Lab → · Contrast checker → · Palette generator →

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