#253D89#253D89

#253D89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.130 H 266.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#253D89
RGBrgb(37, 61, 137)
HSLhsl(226, 57%, 34%)
HSVhsv(226, 73%, 54%)
CMYKcmyk(73%, 55.5%, 0%, 46.3%)
CIE-LABlab(28.21, 18.47, -45.20)
CIE-LCHlch(28.21, 48.83, 292.23°)
OKLaboklab(38.79% -0.007 -0.1301)
OKLCHoklch(38.79% 0.13 266.9)
XYZxyz(6.9455, 5.5362, 24.3646)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D89 #897125
analogous
#256F89 #253D89 #3F2589
triadic
#253D89 #89253D #3D8925
tetradic
#253D89 #89256F #897125 #25893F
square
#253D89 #89256F #897125 #25893F
split-complementary
#253D89 #893F25 #6F8925
monochromatic
#0B1229 #182859 #253D89 #3252B9 #5774D2

Accessibility & contrast

On white

9.96
#253D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D89
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D89#FFFFFF#000000##FFFFFF
##253D891.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02478C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253d89;
/* rgb */ color: rgb(37, 61, 137);
/* oklch */ color: oklch(38.8% 0.130 266.9);
Tailwind
colors: {
  custom: {
    50: '#6d72ac',
    500: '#253d89',
    950: '#000000',
  },
}
SCSS
$custom: #253d89;
$custom-light: #6d72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#253d89",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 225.6,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38791,
    "c": 0.13027,
    "h": 266.9
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253D89

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

Preview Lab → · Contrast checker → · Palette generator →

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