#253D87#253D87

#253D87 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.127 H 266.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#253D87
RGBrgb(37, 61, 135)
HSLhsl(225, 57%, 34%)
HSVhsv(225, 73%, 53%)
CMYKcmyk(72.6%, 54.8%, 0%, 47.1%)
CIE-LABlab(28.06, 17.69, -44.20)
CIE-LCHlch(28.06, 47.61, 291.81°)
OKLaboklab(38.63% -0.0072 -0.1272)
OKLCHoklch(38.63% 0.127 266.8)
XYZxyz(6.8033, 5.4794, 23.6161)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D87 #876F25
analogous
#256E87 #253D87 #3E2587
triadic
#253D87 #87253D #3D8725
tetradic
#253D87 #87256E #876F25 #25873E
square
#253D87 #87256E #876F25 #25873E
split-complementary
#253D87 #873E25 #6E8725
monochromatic
#0B1227 #182757 #253D87 #3253B7 #5674D1

Accessibility & contrast

On white

10.02
#253D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#253D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D87
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D87#FFFFFF#000000##FFFFFF
##253D871.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253d87;
/* rgb */ color: rgb(37, 61, 135);
/* oklch */ color: oklch(38.6% 0.127 266.8);
Tailwind
colors: {
  custom: {
    50: '#6d72ab',
    500: '#253d87',
    950: '#000000',
  },
}
SCSS
$custom: #253d87;
$custom-light: #6d72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253d87",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 225.306,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.12735,
    "h": 266.8
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#253D87
secondary
#B59D53
accent
#BB48E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253D87

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

Preview Lab → · Contrast checker → · Palette generator →

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