#0D203B#0D203B

#0D203B is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.4% C 0.058 H 257.5°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#0D203B
RGBrgb(13, 32, 59)
HSLhsl(215, 64%, 14%)
HSVhsv(215, 78%, 23%)
CMYKcmyk(78%, 45.8%, 0%, 76.9%)
CIE-LABlab(12.18, 3.14, -19.71)
CIE-LCHlch(12.18, 19.95, 279.05°)
OKLaboklab(24.38% -0.0125 -0.0561)
OKLCHoklch(24.38% 0.058 257.5)
XYZxyz(1.4716, 1.4342, 4.3361)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D203B #3B280D
analogous
#0D373B #0D203B #110D3B
triadic
#0D203B #3B0D20 #203B0D
tetradic
#0D203B #3B0D37 #3B280D #0D3B11
square
#0D203B #3B0D37 #3B280D #0D3B11
split-complementary
#0D203B #3B110D #373B0D
monochromatic
#060E19 #060E19 #0D203B #183B6D #23569F

Accessibility & contrast

On white

16.32
#0D203B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0D203B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D203B
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D203B#FFFFFF#000000##FFFFFF
##0D203B1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223C
Deuteranopia (green-blind)
#0D1E3A
Tritanopia (blue-blind)
#00262A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d203b;
/* rgb */ color: rgb(13, 32, 59);
/* oklch */ color: oklch(24.4% 0.058 257.5);
Tailwind
colors: {
  custom: {
    50: '#525b71',
    500: '#0d203b',
    950: '#000000',
  },
}
SCSS
$custom: #0d203b;
$custom-light: #525b71;
$custom-dark: #000000;
JSON
{
  "hex": "#0d203b",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 59
  },
  "hsl": {
    "h": 215.217,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24379,
    "c": 0.0575,
    "h": 257.5
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#0D203B
secondary
#77582D
accent
#A241E7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0D203B

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

Preview Lab → · Contrast checker → · Palette generator →

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