#253996#253996

#253996 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.154 H 268.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#253996
RGBrgb(37, 57, 150)
HSLhsl(229, 60%, 37%)
HSVhsv(229, 75%, 59%)
CMYKcmyk(75.3%, 62%, 0%, 41.2%)
CIE-LABlab(28.17, 26.23, -53.27)
CIE-LCHlch(28.17, 59.38, 296.22°)
OKLaboklab(39.09% -0.0034 -0.1539)
OKLCHoklch(39.09% 0.154 268.7)
XYZxyz(7.7292, 5.5208, 29.5065)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253996 #968225
analogous
#257296 #253996 #4A2596
triadic
#253996 #962539 #399625
tetradic
#253996 #962572 #968225 #25964A
square
#253996 #962572 #968225 #25964A
split-complementary
#253996 #964A25 #729625
monochromatic
#0D1434 #192665 #253996 #314CC7 #5E74D7

Accessibility & contrast

On white

9.98
#253996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#253996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253996
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253996#FFFFFF#000000##FFFFFF
##2539961.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253996;
/* rgb */ color: rgb(37, 57, 150);
/* oklch */ color: oklch(39.1% 0.154 268.7);
Tailwind
colors: {
  custom: {
    50: '#716fb6',
    500: '#253996',
    950: '#000000',
  },
}
SCSS
$custom: #253996;
$custom-light: #716fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#253996",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 229.381,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.1539,
    "h": 268.7
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#253996
secondary
#BCAB5B
accent
#C744E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253996

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

Preview Lab → · Contrast checker → · Palette generator →

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