#253A87#253A87

#253A87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.131 H 268.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#253A87
RGBrgb(37, 58, 135)
HSLhsl(227, 57%, 34%)
HSVhsv(227, 73%, 53%)
CMYKcmyk(72.6%, 57%, 0%, 47.1%)
CIE-LABlab(27.21, 19.76, -45.58)
CIE-LCHlch(27.21, 49.68, 293.44°)
OKLaboklab(37.99% -0.0045 -0.1313)
OKLCHoklch(37.99% 0.131 268)
XYZxyz(6.6477, 5.1680, 23.5642)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A87 #877225
analogous
#256B87 #253A87 #412587
triadic
#253A87 #87253A #3A8725
tetradic
#253A87 #87256B #877225 #258741
square
#253A87 #87256B #877225 #258741
split-complementary
#253A87 #874125 #6B8725
monochromatic
#0B1127 #182557 #253A87 #324FB7 #5670D1

Accessibility & contrast

On white

10.33
#253A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A87
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A87#FFFFFF#000000##FFFFFF
##253A871.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253a87;
/* rgb */ color: rgb(37, 58, 135);
/* oklch */ color: oklch(38.0% 0.131 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d6fab',
    500: '#253a87',
    950: '#000000',
  },
}
SCSS
$custom: #253a87;
$custom-light: #6d6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#253a87",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 227.143,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37987,
    "c": 0.13134,
    "h": 268
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#253A87
secondary
#B5A053
accent
#C048E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253A87

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

Preview Lab → · Contrast checker → · Palette generator →

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