#0C1E2F#0C1E2F

#0C1E2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.9% C 0.041 H 248.8°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#0C1E2F
RGBrgb(12, 30, 47)
HSLhsl(209, 59%, 12%)
HSVhsv(209, 74%, 18%)
CMYKcmyk(74.5%, 36.2%, 0%, 81.6%)
CIE-LABlab(10.64, -0.77, -13.54)
CIE-LCHlch(10.64, 13.56, 266.75°)
OKLaboklab(22.91% -0.0148 -0.0382)
OKLCHoklch(22.91% 0.041 248.8)
XYZxyz(1.1288, 1.2118, 2.8632)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1E2F #2F1D0C
analogous
#0C2F2F #0C1E2F #0C0D2F
triadic
#0C1E2F #2F0C1E #1E2F0C
tetradic
#0C1E2F #2F0C2F #2F1D0C #0D2F0C
square
#0C1E2F #2F0C2F #2F1D0C #0D2F0C
split-complementary
#0C1E2F #2F0C0D #2F2F0C
monochromatic
#061018 #061018 #0C1E2F #183D60 #255C91

Accessibility & contrast

On white

16.90
#0C1E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0C1E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1E2F
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1E2F#FFFFFF#000000##FFFFFF
##0C1E2F1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#002224
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c1e2f;
/* rgb */ color: rgb(12, 30, 47);
/* oklch */ color: oklch(22.9% 0.041 248.8);
Tailwind
colors: {
  custom: {
    50: '#4f5967',
    500: '#0c1e2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c1e2f;
$custom-light: #4f5967;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1e2f",
  "rgb": {
    "r": 12,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 209.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22912,
    "c": 0.04093,
    "h": 248.8
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#0C1E2F
secondary
#6B4B2C
accent
#9245E3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #0C1E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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