#253D7F#253D7F

#253D7F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.116 H 266.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#253D7F
RGBrgb(37, 61, 127)
HSLhsl(224, 55%, 32%)
HSVhsv(224, 71%, 50%)
CMYKcmyk(70.9%, 52%, 0%, 50.2%)
CIE-LABlab(27.47, 14.56, -40.16)
CIE-LCHlch(27.47, 42.72, 289.93°)
OKLaboklab(37.99% -0.008 -0.1153)
OKLCHoklch(37.99% 0.116 266)
XYZxyz(6.2611, 5.2625, 20.7604)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D7F #7F6725
analogous
#256A7F #253D7F #3A257F
triadic
#253D7F #7F253D #3D7F25
tetradic
#253D7F #7F256A #7F6725 #257F3A
square
#253D7F #7F256A #7F6725 #257F3A
split-complementary
#253D7F #7F3A25 #6A7F25
monochromatic
#090F20 #172650 #253D7F #3354AE #5273CD

Accessibility & contrast

On white

10.23
#253D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D7F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D7F#FFFFFF#000000##FFFFFF
##253D7F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174581
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253d7f;
/* rgb */ color: rgb(37, 61, 127);
/* oklch */ color: oklch(38.0% 0.116 266.0);
Tailwind
colors: {
  custom: {
    50: '#6b72a5',
    500: '#253d7f',
    950: '#000000',
  },
}
SCSS
$custom: #253d7f;
$custom-light: #6b72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#253d7f",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 224,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37994,
    "c": 0.11555,
    "h": 266
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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