#253386#253386

#253386 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.139 H 270.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#253386
RGBrgb(37, 51, 134)
HSLhsl(231, 57%, 34%)
HSVhsv(231, 72%, 53%)
CMYKcmyk(72.4%, 61.9%, 0%, 47.5%)
CIE-LABlab(25.20, 24.19, -48.22)
CIE-LCHlch(25.20, 53.95, 296.65°)
OKLaboklab(36.46% 0.0013 -0.1391)
OKLCHoklch(36.46% 0.139 270.5)
XYZxyz(6.2484, 4.4816, 23.0854)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253386 #867825
analogous
#256386 #253386 #472586
triadic
#253386 #862533 #338625
tetradic
#253386 #862563 #867825 #258647
square
#253386 #862563 #867825 #258647
split-complementary
#253386 #864725 #638625
monochromatic
#0B0E26 #182156 #253386 #3245B6 #5567D0

Accessibility & contrast

On white

11.07
#253386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#253386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253386
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253386#FFFFFF#000000##FFFFFF
##2533861.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #253386;
/* rgb */ color: rgb(37, 51, 134);
/* oklch */ color: oklch(36.5% 0.139 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e6aaa',
    500: '#253386',
    950: '#000000',
  },
}
SCSS
$custom: #253386;
$custom-light: #6e6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#253386",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 231.34,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36465,
    "c": 0.13911,
    "h": 270.5
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#253386
secondary
#B4A652
accent
#CA48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253386

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

Preview Lab → · Contrast checker → · Palette generator →

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