#253C7E#253C7E

#253C7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.115 H 266.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#253C7E
RGBrgb(37, 60, 126)
HSLhsl(224, 55%, 32%)
HSVhsv(224, 71%, 49%)
CMYKcmyk(70.6%, 52.4%, 0%, 50.6%)
CIE-LABlab(27.10, 14.87, -40.13)
CIE-LCHlch(27.10, 42.79, 290.33°)
OKLaboklab(37.69% -0.0072 -0.1152)
OKLCHoklch(37.69% 0.115 266.4)
XYZxyz(6.1434, 5.1308, 20.4012)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C7E #7E6725
analogous
#25697E #253C7E #3A257E
triadic
#253C7E #7E253C #3C7E25
tetradic
#253C7E #7E2569 #7E6725 #257E3A
square
#253C7E #7E2569 #7E6725 #257E3A
split-complementary
#253C7E #7E3A25 #697E25
monochromatic
#090F1F #17254F #253C7E #3353AD #5171CC

Accessibility & contrast

On white

10.36
#253C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C7E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C7E#FFFFFF#000000##FFFFFF
##253C7E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253c7e;
/* rgb */ color: rgb(37, 60, 126);
/* oklch */ color: oklch(37.7% 0.115 266.4);
Tailwind
colors: {
  custom: {
    50: '#6b71a4',
    500: '#253c7e',
    950: '#000000',
  },
}
SCSS
$custom: #253c7e;
$custom-light: #6b71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#253c7e",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 224.494,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37693,
    "c": 0.1154,
    "h": 266.4
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#253C7E
secondary
#B0974F
accent
#B84ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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