#253D8E#253D8E

#253D8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.137 H 267.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#253D8E
RGBrgb(37, 61, 142)
HSLhsl(226, 59%, 35%)
HSVhsv(226, 74%, 56%)
CMYKcmyk(73.9%, 57%, 0%, 44.3%)
CIE-LABlab(28.60, 20.42, -47.66)
CIE-LCHlch(28.60, 51.85, 293.20°)
OKLaboklab(39.21% -0.0067 -0.1373)
OKLCHoklch(39.21% 0.137 267.2)
XYZxyz(7.3125, 5.6830, 26.2975)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D8E #8E7625
analogous
#25718E #253D8E #42258E
triadic
#253D8E #8E253D #3D8E25
tetradic
#253D8E #8E2571 #8E7625 #258E42
square
#253D8E #8E2571 #8E7625 #258E42
split-complementary
#253D8E #8E4225 #718E25
monochromatic
#0C132D #18285D #253D8E #3252BF #5A75D4

Accessibility & contrast

On white

9.83
#253D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#253D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D8E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D8E#FFFFFF#000000##FFFFFF
##253D8E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253d8e;
/* rgb */ color: rgb(37, 61, 142);
/* oklch */ color: oklch(39.2% 0.137 267.2);
Tailwind
colors: {
  custom: {
    50: '#6f72b0',
    500: '#253d8e',
    950: '#000000',
  },
}
SCSS
$custom: #253d8e;
$custom-light: #6f72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#253d8e",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 226.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39206,
    "c": 0.13748,
    "h": 267.2
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#253D8E
secondary
#B9A256
accent
#BE46E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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