#253186#253186

#253186 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.142 H 271.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#253186
RGBrgb(37, 49, 134)
HSLhsl(233, 57%, 34%)
HSVhsv(233, 72%, 53%)
CMYKcmyk(72.4%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.67, 25.56, -49.08)
CIE-LCHlch(24.67, 55.34, 297.51°)
OKLaboklab(36.07% 0.0029 -0.1417)
OKLCHoklch(36.07% 0.142 271.2)
XYZxyz(6.1629, 4.3106, 23.0569)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253186 #867A25
analogous
#256186 #253186 #492586
triadic
#253186 #862531 #318625
tetradic
#253186 #862561 #867A25 #258649
square
#253186 #862561 #867A25 #258649
split-complementary
#253186 #864925 #618625
monochromatic
#0B0E26 #181F56 #253186 #3243B6 #5564D0

Accessibility & contrast

On white

11.28
#253186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#253186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253186
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253186#FFFFFF#000000##FFFFFF
##2531861.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #253186;
/* rgb */ color: rgb(37, 49, 134);
/* oklch */ color: oklch(36.1% 0.142 271.2);
Tailwind
colors: {
  custom: {
    50: '#6e69aa',
    500: '#253186',
    950: '#000000',
  },
}
SCSS
$custom: #253186;
$custom-light: #6e69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#253186",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 232.577,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36072,
    "c": 0.1417,
    "h": 271.2
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#253186
secondary
#B4A852
accent
#CD48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253186

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

Preview Lab → · Contrast checker → · Palette generator →

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