#253A96#253A96

#253A96 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.153 H 268.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#253A96
RGBrgb(37, 58, 150)
HSLhsl(229, 60%, 37%)
HSVhsv(229, 75%, 59%)
CMYKcmyk(75.3%, 61.3%, 0%, 41.2%)
CIE-LABlab(28.43, 25.56, -52.84)
CIE-LCHlch(28.43, 58.70, 295.81°)
OKLaboklab(39.29% -0.0041 -0.1526)
OKLCHoklch(39.29% 0.153 268.5)
XYZxyz(7.7791, 5.6206, 29.5232)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A96 #968125
analogous
#257396 #253A96 #492596
triadic
#253A96 #96253A #3A9625
tetradic
#253A96 #962573 #968125 #259649
square
#253A96 #962573 #968125 #259649
split-complementary
#253A96 #964925 #739625
monochromatic
#0D1434 #192765 #253A96 #314DC7 #5E75D7

Accessibility & contrast

On white

9.89
#253A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#253A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A96
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A96#FFFFFF#000000##FFFFFF
##253A961.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253a96;
/* rgb */ color: rgb(37, 58, 150);
/* oklch */ color: oklch(39.3% 0.153 268.5);
Tailwind
colors: {
  custom: {
    50: '#716fb6',
    500: '#253a96',
    950: '#000000',
  },
}
SCSS
$custom: #253a96;
$custom-light: #716fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#253a96",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 228.85,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.15263,
    "h": 268.5
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#253A96
secondary
#BCAA5B
accent
#C644E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253A96

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

Preview Lab → · Contrast checker → · Palette generator →

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