#253496#253496

#253496 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.160 H 270.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#253496
RGBrgb(37, 52, 150)
HSLhsl(232, 60%, 37%)
HSVhsv(232, 75%, 59%)
CMYKcmyk(75.3%, 65.3%, 0%, 41.2%)
CIE-LABlab(26.88, 29.58, -55.38)
CIE-LCHlch(26.88, 62.79, 298.11°)
OKLaboklab(38.14% 0.0001 -0.1601)
OKLCHoklch(38.14% 0.16 270)
XYZxyz(7.4941, 5.0505, 29.4281)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253496 #968725
analogous
#256D96 #253496 #4E2596
triadic
#253496 #962534 #349625
tetradic
#253496 #96256D #968725 #25964E
square
#253496 #96256D #968725 #25964E
split-complementary
#253496 #964E25 #6D9625
monochromatic
#0D1234 #192365 #253496 #3145C7 #5E6ED7

Accessibility & contrast

On white

10.45
#253496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#253496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253496
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253496#FFFFFF#000000##FFFFFF
##2534961.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253496;
/* rgb */ color: rgb(37, 52, 150);
/* oklch */ color: oklch(38.1% 0.160 270.0);
Tailwind
colors: {
  custom: {
    50: '#716bb6',
    500: '#253496',
    950: '#000000',
  },
}
SCSS
$custom: #253496;
$custom-light: #716bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#253496",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 232.035,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.1601,
    "h": 270
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#253496
secondary
#BCAF5B
accent
#CE44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253496

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

Preview Lab → · Contrast checker → · Palette generator →

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