#253D7D#253D7D

#253D7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.113 H 265.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#253D7D
RGBrgb(37, 61, 125)
HSLhsl(224, 54%, 32%)
HSVhsv(224, 70%, 49%)
CMYKcmyk(70.4%, 51.2%, 0%, 51%)
CIE-LABlab(27.33, 13.78, -39.14)
CIE-LCHlch(27.33, 41.49, 289.40°)
OKLaboklab(37.84% -0.0083 -0.1123)
OKLCHoklch(37.84% 0.113 265.8)
XYZxyz(6.1321, 5.2109, 20.0807)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D7D #7D6525
analogous
#25697D #253D7D #39257D
triadic
#253D7D #7D253D #3D7D25
tetradic
#253D7D #7D2569 #7D6525 #257D39
square
#253D7D #7D2569 #7D6525 #257D39
split-complementary
#253D7D #7D3925 #697D25
monochromatic
#090F1F #17264E #253D7D #3354AC #5172CB

Accessibility & contrast

On white

10.28
#253D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#253D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D7D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D7D#FFFFFF#000000##FFFFFF
##253D7D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#013D7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253d7d;
/* rgb */ color: rgb(37, 61, 125);
/* oklch */ color: oklch(37.8% 0.113 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b72a3',
    500: '#253d7d',
    950: '#000000',
  },
}
SCSS
$custom: #253d7d;
$custom-light: #6b72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#253d7d",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 223.636,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3784,
    "c": 0.11256,
    "h": 265.8
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#253D7D
secondary
#AF954F
accent
#B54ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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