#253C7D#253C7D

#253C7D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.114 H 266.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#253C7D
RGBrgb(37, 60, 125)
HSLhsl(224, 54%, 32%)
HSVhsv(224, 70%, 49%)
CMYKcmyk(70.4%, 52%, 0%, 51%)
CIE-LABlab(27.03, 14.47, -39.62)
CIE-LCHlch(27.03, 42.18, 290.07°)
OKLaboklab(37.61% -0.0073 -0.1137)
OKLCHoklch(37.61% 0.114 266.3)
XYZxyz(6.0792, 5.1051, 20.0631)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C7D #7D6625
analogous
#25687D #253C7D #3A257D
triadic
#253C7D #7D253C #3C7D25
tetradic
#253C7D #7D2568 #7D6625 #257D3A
square
#253C7D #7D2568 #7D6625 #257D3A
split-complementary
#253C7D #7D3A25 #687D25
monochromatic
#090F1F #17254E #253C7D #3353AC #5171CB

Accessibility & contrast

On white

10.39
#253C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#253C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C7D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C7D#FFFFFF#000000##FFFFFF
##253C7D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253c7d;
/* rgb */ color: rgb(37, 60, 125);
/* oklch */ color: oklch(37.6% 0.114 266.3);
Tailwind
colors: {
  custom: {
    50: '#6b71a3',
    500: '#253c7d',
    950: '#000000',
  },
}
SCSS
$custom: #253c7d;
$custom-light: #6b71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#253c7d",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 224.318,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37615,
    "c": 0.1139,
    "h": 266.3
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#253C7D
secondary
#AF964F
accent
#B74ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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