#0D203F#0D203F

#0D203F is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.7% C 0.064 H 259.7°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#0D203F
RGBrgb(13, 32, 63)
HSLhsl(217, 66%, 15%)
HSVhsv(217, 79%, 25%)
CMYKcmyk(79.4%, 49.2%, 0%, 75.3%)
CIE-LABlab(12.46, 4.91, -22.08)
CIE-LCHlch(12.46, 22.62, 282.53°)
OKLaboklab(24.69% -0.0115 -0.0631)
OKLCHoklch(24.69% 0.064 259.7)
XYZxyz(1.5794, 1.4773, 4.9036)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D203F #3F2C0D
analogous
#0D393F #0D203F #130D3F
triadic
#0D203F #3F0D20 #203F0D
tetradic
#0D203F #3F0D39 #3F2C0D #0D3F13
square
#0D203F #3F0D39 #3F2C0D #0D3F13
split-complementary
#0D203F #3F130D #393F0D
monochromatic
#050D19 #050D19 #0D203F #173A72 #2254A4

Accessibility & contrast

On white

16.21
#0D203F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0D203F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D203F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D203F#FFFFFF#000000##FFFFFF
##0D203F1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112340
Deuteranopia (green-blind)
#081E3E
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d203f;
/* rgb */ color: rgb(13, 32, 63);
/* oklch */ color: oklch(24.7% 0.064 259.7);
Tailwind
colors: {
  custom: {
    50: '#535b74',
    500: '#0d203f',
    950: '#000000',
  },
}
SCSS
$custom: #0d203f;
$custom-light: #535b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0d203f",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 63
  },
  "hsl": {
    "h": 217.2,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24687,
    "c": 0.06414,
    "h": 259.7
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#0D203F
secondary
#7B5D2D
accent
#A83FE9
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0D203F

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

Preview Lab → · Contrast checker → · Palette generator →

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