#0D203E#0D203E

#0D203E is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.6% C 0.062 H 259.2°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#0D203E
RGBrgb(13, 32, 62)
HSLhsl(217, 65%, 15%)
HSVhsv(217, 79%, 24%)
CMYKcmyk(79%, 48.4%, 0%, 75.7%)
CIE-LABlab(12.39, 4.46, -21.49)
CIE-LCHlch(12.39, 21.95, 281.73°)
OKLaboklab(24.61% -0.0117 -0.0614)
OKLCHoklch(24.61% 0.062 259.2)
XYZxyz(1.5517, 1.4662, 4.7577)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D203E #3E2B0D
analogous
#0D393E #0D203E #130D3E
triadic
#0D203E #3E0D20 #203E0D
tetradic
#0D203E #3E0D39 #3E2B0D #0D3E13
square
#0D203E #3E0D39 #3E2B0D #0D3E13
split-complementary
#0D203E #3E130D #393E0D
monochromatic
#050D19 #050D19 #0D203E #183A71 #2254A3

Accessibility & contrast

On white

16.24
#0D203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D203E
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D203E#FFFFFF#000000##FFFFFF
##0D203E1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12233F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d203e;
/* rgb */ color: rgb(13, 32, 62);
/* oklch */ color: oklch(24.6% 0.062 259.2);
Tailwind
colors: {
  custom: {
    50: '#535b73',
    500: '#0d203e',
    950: '#000000',
  },
}
SCSS
$custom: #0d203e;
$custom-light: #535b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0d203e",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 216.735,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24608,
    "c": 0.06248,
    "h": 259.2
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#0D203E
secondary
#7A5C2D
accent
#A740E8
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0D203E

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

Preview Lab → · Contrast checker → · Palette generator →

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