#253E7D#253E7D

#253E7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.111 H 265.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#253E7D
RGBrgb(37, 62, 125)
HSLhsl(223, 54%, 32%)
HSVhsv(223, 70%, 49%)
CMYKcmyk(70.4%, 50.4%, 0%, 51%)
CIE-LABlab(27.62, 13.09, -38.66)
CIE-LCHlch(27.62, 40.82, 288.70°)
OKLaboklab(38.07% -0.0093 -0.1108)
OKLCHoklch(38.07% 0.111 265.2)
XYZxyz(6.1860, 5.3186, 20.0987)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E7D #7D6425
analogous
#256A7D #253E7D #38257D
triadic
#253E7D #7D253E #3E7D25
tetradic
#253E7D #7D256A #7D6425 #257D38
square
#253E7D #7D256A #7D6425 #257D38
split-complementary
#253E7D #7D3825 #6A7D25
monochromatic
#090F1F #17274E #253E7D #3355AC #5174CB

Accessibility & contrast

On white

10.18
#253E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#253E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E7D
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E7D#FFFFFF#000000##FFFFFF
##253E7D1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457F
Deuteranopia (green-blind)
#053D7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253e7d;
/* rgb */ color: rgb(37, 62, 125);
/* oklch */ color: oklch(38.1% 0.111 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b72a3',
    500: '#253e7d',
    950: '#000000',
  },
}
SCSS
$custom: #253e7d;
$custom-light: #6b72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#253e7d",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 222.955,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38066,
    "c": 0.11123,
    "h": 265.2
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#253E7D
secondary
#AF944F
accent
#B44ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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