#0C1933#0C1933

#0C1933 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.8% C 0.054 H 262.7°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#0C1933
RGBrgb(12, 25, 51)
HSLhsl(220, 62%, 12%)
HSVhsv(220, 76%, 20%)
CMYKcmyk(76.5%, 51%, 0%, 80%)
CIE-LABlab(9.09, 4.82, -18.90)
CIE-LCHlch(9.09, 19.50, 284.31°)
OKLaboklab(21.79% -0.0069 -0.0539)
OKLCHoklch(21.79% 0.054 262.7)
XYZxyz(1.0966, 1.0123, 3.2689)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1933 #33260C
analogous
#0C2D33 #0C1933 #130C33
triadic
#0C1933 #330C19 #19330C
tetradic
#0C1933 #330C2D #33260C #0C3313
square
#0C1933 #330C2D #33260C #0C3313
split-complementary
#0C1933 #33130C #2D330C
monochromatic
#060C19 #060C19 #0C1933 #183165 #234A96

Accessibility & contrast

On white

17.47
#0C1933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0C1933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1933
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1933#FFFFFF#000000##FFFFFF
##0C19331.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C34
Deuteranopia (green-blind)
#071832
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0c1933;
/* rgb */ color: rgb(12, 25, 51);
/* oklch */ color: oklch(21.8% 0.054 262.7);
Tailwind
colors: {
  custom: {
    50: '#50556b',
    500: '#0c1933',
    950: '#000000',
  },
}
SCSS
$custom: #0c1933;
$custom-light: #50556b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1933",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 51
  },
  "hsl": {
    "h": 220,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2179,
    "c": 0.05433,
    "h": 262.7
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#0C1933
secondary
#6F592C
accent
#AF43E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0C1933

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

Preview Lab → · Contrast checker → · Palette generator →

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