#13237E#13237E

#13237E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.153 H 267.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#13237E
RGBrgb(19, 35, 126)
HSLhsl(231, 74%, 28%)
HSVhsv(231, 85%, 49%)
CMYKcmyk(84.9%, 72.2%, 0%, 50.6%)
CIE-LABlab(19.42, 30.00, -52.70)
CIE-LCHlch(19.42, 60.64, 299.65°)
OKLaboklab(31.74% -0.0061 -0.1527)
OKLCHoklch(31.74% 0.153 267.7)
XYZxyz(4.6342, 2.8463, 20.0398)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13237E #7E6E13
analogous
#13587E #13237E #38137E
triadic
#13237E #7E1323 #237E13
tetradic
#13237E #7E1358 #7E6E13 #137E38
square
#13237E #7E1358 #7E6E13 #137E38
split-complementary
#13237E #7E3813 #587E13
monochromatic
#04071B #0B1449 #13237E #1B32B3 #2C47DF

Accessibility & contrast

On white

13.38
#13237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#13237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13237E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13237E#FFFFFF#000000##FFFFFF
##13237E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #13237e;
/* rgb */ color: rgb(19, 35, 126);
/* oklch */ color: oklch(31.7% 0.153 267.7);
Tailwind
colors: {
  custom: {
    50: '#675ea4',
    500: '#13237e',
    950: '#000000',
  },
}
SCSS
$custom: #13237e;
$custom-light: #675ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#13237e",
  "rgb": {
    "r": 19,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 231.028,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31742,
    "c": 0.15284,
    "h": 267.7
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#13237E
secondary
#B4A139
accent
#D537F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #13237E

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

Preview Lab → · Contrast checker → · Palette generator →

#13237E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva