#253D8A#253D8A

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

Color values

HEX#253D8A
RGBrgb(37, 61, 138)
HSLhsl(226, 58%, 34%)
HSVhsv(226, 73%, 54%)
CMYKcmyk(73.2%, 55.8%, 0%, 45.9%)
CIE-LABlab(28.29, 18.86, -45.69)
CIE-LCHlch(28.29, 49.43, 292.43°)
OKLaboklab(38.87% -0.0069 -0.1315)
OKLCHoklch(38.87% 0.132 267)
XYZxyz(7.0175, 5.5651, 24.7442)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D8A #8A7225
analogous
#25708A #253D8A #40258A
triadic
#253D8A #8A253D #3D8A25
tetradic
#253D8A #8A2570 #8A7225 #258A40
square
#253D8A #8A2570 #8A7225 #258A40
split-complementary
#253D8A #8A4025 #708A25
monochromatic
#0B1229 #18285A #253D8A #3252BA #5775D2

Accessibility & contrast

On white

9.94
#253D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#253D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D8A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D8A#FFFFFF#000000##FFFFFF
##253D8A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253d8a;
/* rgb */ color: rgb(37, 61, 138);
/* oklch */ color: oklch(38.9% 0.132 267.0);
Tailwind
colors: {
  custom: {
    50: '#6e72ad',
    500: '#253d8a',
    950: '#000000',
  },
}
SCSS
$custom: #253d8a;
$custom-light: #6e72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#253d8a",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 225.743,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38873,
    "c": 0.13171,
    "h": 267
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#253D8A
secondary
#B79F54
accent
#BC47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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