#253D8B#253D8B

#253D8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.133 H 267.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#253D8B
RGBrgb(37, 61, 139)
HSLhsl(226, 58%, 35%)
HSVhsv(226, 73%, 55%)
CMYKcmyk(73.4%, 56.1%, 0%, 45.5%)
CIE-LABlab(28.36, 19.25, -46.19)
CIE-LCHlch(28.36, 50.04, 292.63°)
OKLaboklab(38.96% -0.0069 -0.133)
OKLCHoklch(38.96% 0.133 267)
XYZxyz(7.0903, 5.5941, 25.1272)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D8B #8B7325
analogous
#25708B #253D8B #40258B
triadic
#253D8B #8B253D #3D8B25
tetradic
#253D8B #8B2570 #8B7325 #258B40
square
#253D8B #8B2570 #8B7325 #258B40
split-complementary
#253D8B #8B4025 #708B25
monochromatic
#0B132A #18285B #253D8B #3252BB #5875D3

Accessibility & contrast

On white

9.91
#253D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D8B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D8B#FFFFFF#000000##FFFFFF
##253D8B1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253d8b;
/* rgb */ color: rgb(37, 61, 139);
/* oklch */ color: oklch(39.0% 0.133 267.0);
Tailwind
colors: {
  custom: {
    50: '#6e72ad',
    500: '#253d8b',
    950: '#000000',
  },
}
SCSS
$custom: #253d8b;
$custom-light: #6e72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#253d8b",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 225.882,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.13317,
    "h": 267
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#253D8B
secondary
#B7A055
accent
#BD47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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