#0C203B#0C203B

#0C203B is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.3% C 0.058 H 256.6°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#0C203B
RGBrgb(12, 32, 59)
HSLhsl(214, 66%, 14%)
HSVhsv(214, 80%, 23%)
CMYKcmyk(79.7%, 45.8%, 0%, 76.9%)
CIE-LABlab(12.13, 2.94, -19.79)
CIE-LCHlch(12.13, 20.00, 278.46°)
OKLaboklab(24.33% -0.0134 -0.0564)
OKLCHoklch(24.33% 0.058 256.6)
XYZxyz(1.4573, 1.4268, 4.3354)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C203B #3B270C
analogous
#0C383B #0C203B #100C3B
triadic
#0C203B #3B0C20 #203B0C
tetradic
#0C203B #3B0C38 #3B270C #0C3B10
square
#0C203B #3B0C38 #3B270C #0C3B10
split-complementary
#0C203B #3B100C #383B0C
monochromatic
#050E19 #050E19 #0C203B #163C6E #2157A1

Accessibility & contrast

On white

16.34
#0C203B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C203B
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C203B#FFFFFF#000000##FFFFFF
##0C203B1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c203b;
/* rgb */ color: rgb(12, 32, 59);
/* oklch */ color: oklch(24.3% 0.058 256.6);
Tailwind
colors: {
  custom: {
    50: '#525b71',
    500: '#0c203b',
    950: '#000000',
  },
}
SCSS
$custom: #0c203b;
$custom-light: #525b71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c203b",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 59
  },
  "hsl": {
    "h": 214.468,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24328,
    "c": 0.05795,
    "h": 256.6
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#0C203B
secondary
#77572C
accent
#A13FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C203B

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

Preview Lab → · Contrast checker → · Palette generator →

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