#253E7B#253E7B

#253E7B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.108 H 264.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#253E7B
RGBrgb(37, 62, 123)
HSLhsl(223, 54%, 31%)
HSVhsv(223, 70%, 48%)
CMYKcmyk(69.9%, 49.6%, 0%, 51.8%)
CIE-LABlab(27.48, 12.31, -37.63)
CIE-LCHlch(27.48, 39.59, 288.11°)
OKLaboklab(37.92% -0.0096 -0.1078)
OKLCHoklch(37.92% 0.108 264.9)
XYZxyz(6.0595, 5.2680, 19.4325)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E7B #7B6225
analogous
#25697B #253E7B #37257B
triadic
#253E7B #7B253E #3E7B25
tetradic
#253E7B #7B2569 #7B6225 #257B37
square
#253E7B #7B2569 #7B6225 #257B37
split-complementary
#253E7B #7B3725 #697B25
monochromatic
#090F1D #17264C #253E7B #3356AA #5074CA

Accessibility & contrast

On white

10.22
#253E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253E7B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E7B#FFFFFF#000000##FFFFFF
##253E7B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#0A3D7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253e7b;
/* rgb */ color: rgb(37, 62, 123);
/* oklch */ color: oklch(37.9% 0.108 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a72a2',
    500: '#253e7b',
    950: '#000000',
  },
}
SCSS
$custom: #253e7b;
$custom-light: #6a72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253e7b",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 222.558,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37916,
    "c": 0.10822,
    "h": 264.9
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#253E7B
secondary
#AD924F
accent
#B34BDD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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