#253187#253187

#253187 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.143 H 271.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#253187
RGBrgb(37, 49, 135)
HSLhsl(233, 57%, 34%)
HSVhsv(233, 73%, 53%)
CMYKcmyk(72.6%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.76, 25.94, -49.56)
CIE-LCHlch(24.76, 55.94, 297.62°)
OKLaboklab(36.16% 0.0029 -0.1431)
OKLCHoklch(36.16% 0.143 271.2)
XYZxyz(6.2330, 4.3386, 23.4259)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253187 #877B25
analogous
#256287 #253187 #4A2587
triadic
#253187 #872531 #318725
tetradic
#253187 #872562 #877B25 #25874A
square
#253187 #872562 #877B25 #25874A
split-complementary
#253187 #874A25 #628725
monochromatic
#0B0E27 #182057 #253187 #3242B7 #5665D1

Accessibility & contrast

On white

11.24
#253187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#253187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253187
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253187#FFFFFF#000000##FFFFFF
##2531871.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #253187;
/* rgb */ color: rgb(37, 49, 135);
/* oklch */ color: oklch(36.2% 0.143 271.2);
Tailwind
colors: {
  custom: {
    50: '#6e69ab',
    500: '#253187',
    950: '#000000',
  },
}
SCSS
$custom: #253187;
$custom-light: #6e69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253187",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 232.653,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36164,
    "c": 0.14311,
    "h": 271.2
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#253187
secondary
#B5A953
accent
#CE48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253187

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

Preview Lab → · Contrast checker → · Palette generator →

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