#253B96#253B96

#253B96 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.151 H 268.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#253B96
RGBrgb(37, 59, 150)
HSLhsl(228, 60%, 37%)
HSVhsv(228, 75%, 59%)
CMYKcmyk(75.3%, 60.7%, 0%, 41.2%)
CIE-LABlab(28.70, 24.88, -52.40)
CIE-LCHlch(28.70, 58.01, 295.40°)
OKLaboklab(39.49% -0.0048 -0.1513)
OKLCHoklch(39.49% 0.151 268.2)
XYZxyz(7.8300, 5.7224, 29.5401)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B96 #968025
analogous
#257496 #253B96 #482596
triadic
#253B96 #96253B #3B9625
tetradic
#253B96 #962574 #968025 #259648
square
#253B96 #962574 #968025 #259648
split-complementary
#253B96 #964825 #749625
monochromatic
#0D1434 #192865 #253B96 #314EC7 #5E76D7

Accessibility & contrast

On white

9.79
#253B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#253B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B96
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B96#FFFFFF#000000##FFFFFF
##253B961.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253b96;
/* rgb */ color: rgb(37, 59, 150);
/* oklch */ color: oklch(39.5% 0.151 268.2);
Tailwind
colors: {
  custom: {
    50: '#7170b6',
    500: '#253b96',
    950: '#000000',
  },
}
SCSS
$custom: #253b96;
$custom-light: #7170b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253b96",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 228.319,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.15137,
    "h": 268.2
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#253B96
secondary
#BCA95B
accent
#C544E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253B96

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

Preview Lab → · Contrast checker → · Palette generator →

#253B96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva