#0D204F#0D204F

#0D204F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.090 H 264.4°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#0D204F
RGBrgb(13, 32, 79)
HSLhsl(223, 72%, 18%)
HSVhsv(223, 84%, 31%)
CMYKcmyk(83.5%, 59.5%, 0%, 69%)
CIE-LABlab(13.73, 12.02, -31.13)
CIE-LCHlch(13.73, 33.37, 291.11°)
OKLaboklab(26.06% -0.0088 -0.0897)
OKLCHoklch(26.06% 0.09 264.4)
XYZxyz(2.0933, 1.6829, 7.6101)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D204F #4F3C0D
analogous
#0D414F #0D204F #1B0D4F
triadic
#0D204F #4F0D20 #204F0D
tetradic
#0D204F #4F0D41 #4F3C0D #0D4F1B
square
#0D204F #4F0D41 #4F3C0D #0D4F1B
split-complementary
#0D204F #4F1B0D #414F0D
monochromatic
#040B1A #040B1A #0D204F #163584 #1E4BB8

Accessibility & contrast

On white

15.71
#0D204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0D204F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D204F
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D204F#FFFFFF#000000##FFFFFF
##0D204F1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d204f;
/* rgb */ color: rgb(13, 32, 79);
/* oklch */ color: oklch(26.1% 0.090 264.4);
Tailwind
colors: {
  custom: {
    50: '#575a81',
    500: '#0d204f',
    950: '#000000',
  },
}
SCSS
$custom: #0d204f;
$custom-light: #575a81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d204f",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 222.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26056,
    "c": 0.09017,
    "h": 264.4
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#0D204F
secondary
#8A6F2E
accent
#BA39EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D204F

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

Preview Lab → · Contrast checker → · Palette generator →

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