#253D9D#253D9D

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

Color values

HEX#253D9D
RGBrgb(37, 61, 157)
HSLhsl(228, 62%, 38%)
HSVhsv(228, 76%, 62%)
CMYKcmyk(76.4%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.82, 26.22, -54.84)
CIE-LCHlch(29.82, 60.78, 295.55°)
OKLaboklab(40.51% -0.0062 -0.1584)
OKLCHoklch(40.51% 0.159 267.8)
XYZxyz(8.5154, 6.1642, 32.6328)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D9D #9D8525
analogous
#25799D #253D9D #49259D
triadic
#253D9D #9D253D #3D9D25
tetradic
#253D9D #9D2579 #9D8525 #259D49
square
#253D9D #9D2579 #9D8525 #259D49
split-complementary
#253D9D #9D4925 #799D25
monochromatic
#0E173A #192A6B #253D9D #3150CE #627ADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##253D9D#FFFFFF#000000##FFFFFF
##253D9D1.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)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253d9d;
/* rgb */ color: rgb(37, 61, 157);
/* oklch */ color: oklch(40.5% 0.159 267.8);
Tailwind
colors: {
  custom: {
    50: '#7272bb',
    500: '#253d9d',
    950: '#000000',
  },
}
SCSS
$custom: #253d9d;
$custom-light: #7272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#253d9d",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 228,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40505,
    "c": 0.15853,
    "h": 267.8
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#253D9D
secondary
#BFAC5E
accent
#C543E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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