#253D8F#253D8F

#253D8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.139 H 267.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#253D8F
RGBrgb(37, 61, 143)
HSLhsl(226, 59%, 35%)
HSVhsv(226, 74%, 56%)
CMYKcmyk(74.1%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.68, 20.81, -48.15)
CIE-LCHlch(28.68, 52.45, 293.38°)
OKLaboklab(39.29% -0.0066 -0.1388)
OKLCHoklch(39.29% 0.139 267.3)
XYZxyz(7.3879, 5.7132, 26.6947)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D8F #8F7725
analogous
#25728F #253D8F #42258F
triadic
#253D8F #8F253D #3D8F25
tetradic
#253D8F #8F2572 #8F7725 #258F42
square
#253D8F #8F2572 #8F7725 #258F42
split-complementary
#253D8F #8F4225 #728F25
monochromatic
#0C142E #18285E #253D8F #3252C0 #5A76D4

Accessibility & contrast

On white

9.80
#253D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D8F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D8F#FFFFFF#000000##FFFFFF
##253D8F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253d8f;
/* rgb */ color: rgb(37, 61, 143);
/* oklch */ color: oklch(39.3% 0.139 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f72b0',
    500: '#253d8f',
    950: '#000000',
  },
}
SCSS
$custom: #253d8f;
$custom-light: #6f72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#253d8f",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 226.415,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.13891,
    "h": 267.3
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#253D8F
secondary
#B9A357
accent
#BF46E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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