#253D9A#253D9A

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

Color values

HEX#253D9A
RGBrgb(37, 61, 154)
HSLhsl(228, 61%, 37%)
HSVhsv(228, 76%, 60%)
CMYKcmyk(76%, 60.4%, 0%, 39.6%)
CIE-LABlab(29.57, 25.07, -53.43)
CIE-LCHlch(29.57, 59.01, 295.14°)
OKLaboklab(40.24% -0.0062 -0.1543)
OKLCHoklch(40.24% 0.154 267.7)
XYZxyz(8.2624, 6.0630, 31.3004)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D9A #9A8225
analogous
#25789A #253D9A #47259A
triadic
#253D9A #9A253D #3D9A25
tetradic
#253D9A #9A2578 #9A8225 #259A47
square
#253D9A #9A2578 #9A8225 #259A47
split-complementary
#253D9A #9A4725 #789A25
monochromatic
#0D1637 #192969 #253D9A #3151CB #6079D9

Accessibility & contrast

On white

9.49
#253D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#253D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D9A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D9A#FFFFFF#000000##FFFFFF
##253D9A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253d9a;
/* rgb */ color: rgb(37, 61, 154);
/* oklch */ color: oklch(40.2% 0.154 267.7);
Tailwind
colors: {
  custom: {
    50: '#7272b9',
    500: '#253d9a',
    950: '#000000',
  },
}
SCSS
$custom: #253d9a;
$custom-light: #7272b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253d9a",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 227.692,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.15439,
    "h": 267.7
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#253D9A
secondary
#BEAA5D
accent
#C343E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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