#0D1558#0D1558

#0D1558 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.7% C 0.119 H 269.3°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#0D1558
RGBrgb(13, 21, 88)
HSLhsl(234, 74%, 20%)
HSVhsv(234, 85%, 35%)
CMYKcmyk(85.2%, 76.1%, 0%, 65.5%)
CIE-LABlab(11.46, 24.04, -40.96)
CIE-LCHlch(11.46, 47.49, 300.40°)
OKLaboklab(24.65% -0.0014 -0.1186)
OKLCHoklch(24.65% 0.119 269.3)
XYZxyz(2.1950, 1.3262, 9.3709)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1558 #58500D
analogous
#0D3B58 #0D1558 #2B0D58
triadic
#0D1558 #580D15 #15580D
tetradic
#0D1558 #580D3B #58500D #0D582B
square
#0D1558 #580D3B #58500D #0D582B
split-complementary
#0D1558 #582B0D #3B580D
monochromatic
#04061B #050823 #0D1558 #15228D #1D2EC3

Accessibility & contrast

On white

16.60
#0D1558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0D1558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1558
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1558#FFFFFF#000000##FFFFFF
##0D15581.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d1558;
/* rgb */ color: rgb(13, 21, 88);
/* oklch */ color: oklch(24.7% 0.119 269.3);
Tailwind
colors: {
  custom: {
    50: '#5b5288',
    500: '#0d1558',
    950: '#000000',
  },
}
SCSS
$custom: #0d1558;
$custom-light: #5b5288;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1558",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 233.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24654,
    "c": 0.11865,
    "h": 269.3
  },
  "luminance": 0.01326
}

Semantic roles & 50–950 ramp

primary
#0D1558
secondary
#93882E
accent
#DD37F1
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D1558

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

Preview Lab → · Contrast checker → · Palette generator →

#0D1558 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva