#253D7C#253D7C

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

Color values

HEX#253D7C
RGBrgb(37, 61, 124)
HSLhsl(223, 54%, 32%)
HSVhsv(223, 70%, 49%)
CMYKcmyk(70.2%, 50.8%, 0%, 51.4%)
CIE-LABlab(27.26, 13.39, -38.63)
CIE-LCHlch(27.26, 40.88, 289.12°)
OKLaboklab(37.76% -0.0084 -0.1107)
OKLCHoklch(37.76% 0.111 265.7)
XYZxyz(6.0685, 5.1854, 19.7460)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D7C #7C6425
analogous
#25697C #253D7C #39257C
triadic
#253D7C #7C253D #3D7C25
tetradic
#253D7C #7C2569 #7C6425 #257C39
square
#253D7C #7C2569 #7C6425 #257C39
split-complementary
#253D7C #7C3925 #697C25
monochromatic
#090F1E #17264D #253D7C #3354AB #5072CB

Accessibility & contrast

On white

10.31
#253D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D7C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D7C#FFFFFF#000000##FFFFFF
##253D7C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#033D7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253d7c;
/* rgb */ color: rgb(37, 61, 124);
/* oklch */ color: oklch(37.8% 0.111 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b72a2',
    500: '#253d7c',
    950: '#000000',
  },
}
SCSS
$custom: #253d7c;
$custom-light: #6b72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253d7c",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 223.448,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37764,
    "c": 0.11106,
    "h": 265.7
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#253D7C
secondary
#AE944F
accent
#B54ADD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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