#253196#253196

#253196 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.164 H 270.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#253196
RGBrgb(37, 49, 150)
HSLhsl(234, 60%, 37%)
HSVhsv(234, 75%, 59%)
CMYKcmyk(75.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(26.13, 31.56, -56.61)
CIE-LCHlch(26.13, 64.81, 299.14°)
OKLaboklab(37.59% 0.002 -0.1637)
OKLCHoklch(37.59% 0.164 270.7)
XYZxyz(7.3644, 4.7912, 29.3849)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253196 #968A25
analogous
#256A96 #253196 #522596
triadic
#253196 #962531 #319625
tetradic
#253196 #96256A #968A25 #259652
square
#253196 #96256A #968A25 #259652
split-complementary
#253196 #965225 #6A9625
monochromatic
#0D1134 #192165 #253196 #3141C7 #5E6BD7

Accessibility & contrast

On white

10.72
#253196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253196
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253196#FFFFFF#000000##FFFFFF
##2531961.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253196;
/* rgb */ color: rgb(37, 49, 150);
/* oklch */ color: oklch(37.6% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#7269b6',
    500: '#253196',
    950: '#000000',
  },
}
SCSS
$custom: #253196;
$custom-light: #7269b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253196",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 233.628,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37592,
    "c": 0.16371,
    "h": 270.7
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#253196
secondary
#BCB25B
accent
#D344E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253196

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

Preview Lab → · Contrast checker → · Palette generator →

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