#253D9C#253D9C

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

Color values

HEX#253D9C
RGBrgb(37, 61, 156)
HSLhsl(228, 62%, 38%)
HSVhsv(228, 76%, 61%)
CMYKcmyk(76.3%, 60.9%, 0%, 38.8%)
CIE-LABlab(29.74, 25.83, -54.37)
CIE-LCHlch(29.74, 60.19, 295.42°)
OKLaboklab(40.42% -0.0062 -0.157)
OKLCHoklch(40.42% 0.157 267.7)
XYZxyz(8.4304, 6.1302, 32.1850)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D9C #9C8425
analogous
#25789C #253D9C #48259C
triadic
#253D9C #9C253D #3D9C25
tetradic
#253D9C #9C2578 #9C8425 #259C48
square
#253D9C #9C2578 #9C8425 #259C48
split-complementary
#253D9C #9C4825 #789C25
monochromatic
#0E1639 #192A6B #253D9C #3150CD #627ADA

Accessibility & contrast

On white

9.43
#253D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D9C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D9C#FFFFFF#000000##FFFFFF
##253D9C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253d9c;
/* rgb */ color: rgb(37, 61, 156);
/* oklch */ color: oklch(40.4% 0.157 267.7);
Tailwind
colors: {
  custom: {
    50: '#7272ba',
    500: '#253d9c',
    950: '#000000',
  },
}
SCSS
$custom: #253d9c;
$custom-light: #7272ba;
$custom-dark: #000000;
JSON
{
  "hex": "#253d9c",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 227.899,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.15715,
    "h": 267.7
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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