#253587#253587

#253587 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.138 H 269.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#253587
RGBrgb(37, 53, 135)
HSLhsl(230, 57%, 34%)
HSVhsv(230, 73%, 53%)
CMYKcmyk(72.6%, 60.7%, 0%, 47.1%)
CIE-LABlab(25.83, 23.21, -47.83)
CIE-LCHlch(25.83, 53.16, 295.89°)
OKLaboklab(36.95% -0.0003 -0.1379)
OKLCHoklch(36.95% 0.138 269.9)
XYZxyz(6.4077, 4.6881, 23.4842)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253587 #877725
analogous
#256687 #253587 #462587
triadic
#253587 #872535 #358725
tetradic
#253587 #872566 #877725 #258746
square
#253587 #872566 #877725 #258746
split-complementary
#253587 #874625 #668725
monochromatic
#0B0F27 #182257 #253587 #3248B7 #566AD1

Accessibility & contrast

On white

10.84
#253587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#253587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253587
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253587#FFFFFF#000000##FFFFFF
##2535871.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #253587;
/* rgb */ color: rgb(37, 53, 135);
/* oklch */ color: oklch(37.0% 0.138 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e6cab',
    500: '#253587',
    950: '#000000',
  },
}
SCSS
$custom: #253587;
$custom-light: #6e6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#253587",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 230.204,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.13792,
    "h": 269.9
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#253587
secondary
#B5A553
accent
#C748E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253587

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

Preview Lab → · Contrast checker → · Palette generator →

#253587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva