#253191#253191

#253191 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.157 H 270.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#253191
RGBrgb(37, 49, 145)
HSLhsl(233, 59%, 36%)
HSVhsv(233, 74%, 57%)
CMYKcmyk(74.5%, 66.2%, 0%, 43.1%)
CIE-LABlab(25.66, 29.70, -54.29)
CIE-LCHlch(25.66, 61.89, 298.68°)
OKLaboklab(37.11% 0.0024 -0.1569)
OKLCHoklch(37.11% 0.157 270.9)
XYZxyz(6.9704, 4.6336, 27.3096)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253191 #918525
analogous
#256791 #253191 #4F2591
triadic
#253191 #912531 #319125
tetradic
#253191 #912567 #918525 #25914F
square
#253191 #912567 #918525 #25914F
split-complementary
#253191 #914F25 #679125
monochromatic
#0C102F #192160 #253191 #3141C2 #5B69D5

Accessibility & contrast

On white

10.90
#253191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#253191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253191
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253191#FFFFFF#000000##FFFFFF
##2531911.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #253191;
/* rgb */ color: rgb(37, 49, 145);
/* oklch */ color: oklch(37.1% 0.157 270.9);
Tailwind
colors: {
  custom: {
    50: '#7069b2',
    500: '#253191',
    950: '#000000',
  },
}
SCSS
$custom: #253191;
$custom-light: #7069b2;
$custom-dark: #000000;
JSON
{
  "hex": "#253191",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 233.333,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.15696,
    "h": 270.9
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#253191
secondary
#BAAF58
accent
#D145E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253191

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

Preview Lab → · Contrast checker → · Palette generator →

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