#253E87#253E87

#253E87 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.126 H 266.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#253E87
RGBrgb(37, 62, 135)
HSLhsl(225, 57%, 34%)
HSVhsv(225, 73%, 53%)
CMYKcmyk(72.6%, 54.1%, 0%, 47.1%)
CIE-LABlab(28.35, 17.00, -43.74)
CIE-LCHlch(28.35, 46.93, 291.24°)
OKLaboklab(38.85% -0.0081 -0.1258)
OKLCHoklch(38.85% 0.126 266.3)
XYZxyz(6.8572, 5.5871, 23.6340)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E87 #876E25
analogous
#256F87 #253E87 #3D2587
triadic
#253E87 #87253E #3E8725
tetradic
#253E87 #87256F #876E25 #25873D
square
#253E87 #87256F #876E25 #25873D
split-complementary
#253E87 #873D25 #6F8725
monochromatic
#0B1227 #182857 #253E87 #3254B7 #5675D1

Accessibility & contrast

On white

9.92
#253E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#253E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E87
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E87#FFFFFF#000000##FFFFFF
##253E871.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253e87;
/* rgb */ color: rgb(37, 62, 135);
/* oklch */ color: oklch(38.8% 0.126 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d72aa',
    500: '#253e87',
    950: '#000000',
  },
}
SCSS
$custom: #253e87;
$custom-light: #6d72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#253e87",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 224.694,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.12603,
    "h": 266.3
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#253E87
secondary
#B59C53
accent
#B948E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253E87

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

Preview Lab → · Contrast checker → · Palette generator →

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