#253D7E#253D7E

#253D7E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.114 H 265.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#253D7E
RGBrgb(37, 61, 126)
HSLhsl(224, 55%, 32%)
HSVhsv(224, 71%, 49%)
CMYKcmyk(70.6%, 51.6%, 0%, 50.6%)
CIE-LABlab(27.40, 14.17, -39.65)
CIE-LCHlch(27.40, 42.11, 289.67°)
OKLaboklab(37.92% -0.0081 -0.1138)
OKLCHoklch(37.92% 0.114 265.9)
XYZxyz(6.1963, 5.2366, 20.4188)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D7E #7E6625
analogous
#256A7E #253D7E #3A257E
triadic
#253D7E #7E253D #3D7E25
tetradic
#253D7E #7E256A #7E6625 #257E3A
square
#253D7E #7E256A #7E6625 #257E3A
split-complementary
#253D7E #7E3A25 #6A7E25
monochromatic
#090F1F #17264F #253D7E #3354AD #5172CC

Accessibility & contrast

On white

10.26
#253D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#253D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D7E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D7E#FFFFFF#000000##FFFFFF
##253D7E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184580
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253d7e;
/* rgb */ color: rgb(37, 61, 126);
/* oklch */ color: oklch(37.9% 0.114 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b72a4',
    500: '#253d7e',
    950: '#000000',
  },
}
SCSS
$custom: #253d7e;
$custom-light: #6b72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#253d7e",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 223.82,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37917,
    "c": 0.11406,
    "h": 265.9
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#253D7E
secondary
#B0964F
accent
#B64ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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