#253591#253591

#253591 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.152 H 269.8°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#253591
RGBrgb(37, 53, 145)
HSLhsl(231, 59%, 36%)
HSVhsv(231, 74%, 57%)
CMYKcmyk(74.5%, 63.4%, 0%, 43.1%)
CIE-LABlab(26.69, 27.03, -52.62)
CIE-LCHlch(26.69, 59.16, 297.19°)
OKLaboklab(37.86% -0.0004 -0.152)
OKLCHoklch(37.86% 0.152 269.8)
XYZxyz(7.1451, 4.9831, 27.3678)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253591 #918125
analogous
#256B91 #253591 #4B2591
triadic
#253591 #912535 #359125
tetradic
#253591 #91256B #918125 #25914B
square
#253591 #91256B #918125 #25914B
split-complementary
#253591 #914B25 #6B9125
monochromatic
#0C112F #192360 #253591 #3147C2 #5B6DD5

Accessibility & contrast

On white

10.52
#253591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#253591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253591
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253591#FFFFFF#000000##FFFFFF
##2535911.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253591;
/* rgb */ color: rgb(37, 53, 145);
/* oklch */ color: oklch(37.9% 0.152 269.8);
Tailwind
colors: {
  custom: {
    50: '#706cb2',
    500: '#253591',
    950: '#000000',
  },
}
SCSS
$custom: #253591;
$custom-light: #706cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#253591",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 231.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.152,
    "h": 269.8
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#253591
secondary
#BAAB58
accent
#CB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253591

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

Preview Lab → · Contrast checker → · Palette generator →

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