#0C203D#0C203D

#0C203D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.061 H 257.9°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#0C203D
RGBrgb(12, 32, 61)
HSLhsl(216, 67%, 14%)
HSVhsv(216, 80%, 24%)
CMYKcmyk(80.3%, 47.5%, 0%, 76.1%)
CIE-LABlab(12.27, 3.83, -20.98)
CIE-LCHlch(12.27, 21.33, 280.35°)
OKLaboklab(24.48% -0.0129 -0.0599)
OKLCHoklch(24.48% 0.061 257.9)
XYZxyz(1.5101, 1.4479, 4.6139)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C203D #3D290C
analogous
#0C393D #0C203D #110C3D
triadic
#0C203D #3D0C20 #203D0C
tetradic
#0C203D #3D0C39 #3D290C #0C3D11
square
#0C203D #3D0C39 #3D290C #0C3D11
split-complementary
#0C203D #3D110C #393D0C
monochromatic
#050D1A #050D1A #0C203D #163B70 #2056A3

Accessibility & contrast

On white

16.28
#0C203D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C203D
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C203D#FFFFFF#000000##FFFFFF
##0C203D1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c203d;
/* rgb */ color: rgb(12, 32, 61);
/* oklch */ color: oklch(24.5% 0.061 257.9);
Tailwind
colors: {
  custom: {
    50: '#525b72',
    500: '#0c203d',
    950: '#000000',
  },
}
SCSS
$custom: #0c203d;
$custom-light: #525b72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c203d",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 61
  },
  "hsl": {
    "h": 215.51,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2448,
    "c": 0.06126,
    "h": 257.9
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#0C203D
secondary
#795A2C
accent
#A43EEA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #0C203D

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

Preview Lab → · Contrast checker → · Palette generator →

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