#253D9B#253D9B

#253D9B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.156 H 267.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#253D9B
RGBrgb(37, 61, 155)
HSLhsl(228, 61%, 38%)
HSVhsv(228, 76%, 61%)
CMYKcmyk(76.1%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.65, 25.45, -53.90)
CIE-LCHlch(29.65, 59.60, 295.28°)
OKLaboklab(40.33% -0.0062 -0.1556)
OKLCHoklch(40.33% 0.156 267.7)
XYZxyz(8.3460, 6.0965, 31.7409)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D9B #9B8325
analogous
#25789B #253D9B #48259B
triadic
#253D9B #9B253D #3D9B25
tetradic
#253D9B #9B2578 #9B8325 #259B48
square
#253D9B #9B2578 #9B8325 #259B48
split-complementary
#253D9B #9B4825 #789B25
monochromatic
#0D1638 #192A6A #253D9B #3150CC #617AD9

Accessibility & contrast

On white

9.46
#253D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#253D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D9B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D9B#FFFFFF#000000##FFFFFF
##253D9B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253d9b;
/* rgb */ color: rgb(37, 61, 155);
/* oklch */ color: oklch(40.3% 0.156 267.7);
Tailwind
colors: {
  custom: {
    50: '#7272b9',
    500: '#253d9b',
    950: '#000000',
  },
}
SCSS
$custom: #253d9b;
$custom-light: #7272b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253d9b",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 227.797,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.15577,
    "h": 267.7
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#253D9B
secondary
#BFAB5D
accent
#C443E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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