#253E9A#253E9A

#253E9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.153 H 267.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#253E9A
RGBrgb(37, 62, 154)
HSLhsl(227, 61%, 37%)
HSVhsv(227, 76%, 60%)
CMYKcmyk(76%, 59.7%, 0%, 39.6%)
CIE-LABlab(29.84, 24.39, -52.99)
CIE-LCHlch(29.84, 58.33, 294.72°)
OKLaboklab(40.44% -0.007 -0.153)
OKLCHoklch(40.44% 0.153 267.4)
XYZxyz(8.3163, 6.1708, 31.3184)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E9A #9A8125
analogous
#25799A #253E9A #46259A
triadic
#253E9A #9A253E #3E9A25
tetradic
#253E9A #9A2579 #9A8125 #259A46
square
#253E9A #9A2579 #9A8125 #259A46
split-complementary
#253E9A #9A4625 #799A25
monochromatic
#0D1637 #192A69 #253E9A #3152CB #607AD9

Accessibility & contrast

On white

9.40
#253E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#253E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E9A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E9A#FFFFFF#000000##FFFFFF
##253E9A1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253e9a;
/* rgb */ color: rgb(37, 62, 154);
/* oklch */ color: oklch(40.4% 0.153 267.4);
Tailwind
colors: {
  custom: {
    50: '#7272b9',
    500: '#253e9a',
    950: '#000000',
  },
}
SCSS
$custom: #253e9a;
$custom-light: #7272b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253e9a",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 227.179,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.15313,
    "h": 267.4
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#253E9A
secondary
#BEA95D
accent
#C243E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #253E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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