#253391#253391

#253391 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.154 H 270.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#253391
RGBrgb(37, 51, 145)
HSLhsl(232, 59%, 36%)
HSVhsv(232, 74%, 57%)
CMYKcmyk(74.5%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.17, 28.37, -53.46)
CIE-LCHlch(26.17, 60.53, 297.95°)
OKLaboklab(37.48% 0.001 -0.1545)
OKLCHoklch(37.48% 0.154 270.4)
XYZxyz(7.0559, 4.8046, 27.3381)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253391 #918325
analogous
#256991 #253391 #4D2591
triadic
#253391 #912533 #339125
tetradic
#253391 #912569 #918325 #25914D
square
#253391 #912569 #918325 #25914D
split-complementary
#253391 #914D25 #699125
monochromatic
#0C112F #192260 #253391 #3144C2 #5B6BD5

Accessibility & contrast

On white

10.71
#253391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#253391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253391
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253391#FFFFFF#000000##FFFFFF
##2533911.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253391;
/* rgb */ color: rgb(37, 51, 145);
/* oklch */ color: oklch(37.5% 0.154 270.4);
Tailwind
colors: {
  custom: {
    50: '#706ab2',
    500: '#253391',
    950: '#000000',
  },
}
SCSS
$custom: #253391;
$custom-light: #706ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#253391",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 232.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37479,
    "c": 0.15449,
    "h": 270.4
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#253391
secondary
#BAAD58
accent
#CE45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253391

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

Preview Lab → · Contrast checker → · Palette generator →

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