#0C0B2D#0C0B2D

#0C0B2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.066 H 278.5°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#0C0B2D
RGBrgb(12, 11, 45)
HSLhsl(242, 61%, 11%)
HSVhsv(242, 76%, 18%)
CMYKcmyk(73.3%, 75.6%, 0%, 82.4%)
CIE-LABlab(4.58, 10.77, -21.67)
CIE-LCHlch(4.58, 24.20, 296.43°)
OKLaboklab(17.73% 0.0098 -0.0656)
OKLCHoklch(17.73% 0.066 278.5)
XYZxyz(0.7448, 0.5069, 2.5407)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B2D #2C2D0B
analogous
#0B1B2D #0C0B2D #1D0B2D
triadic
#0C0B2D #2D0C0B #0B2D0C
tetradic
#0C0B2D #2D0B1B #2C2D0B #0B2D1D
square
#0C0B2D #2D0B1B #2C2D0B #0B2D1D
split-complementary
#0C0B2D #2D1D0B #1B2D0B
monochromatic
#070619 #070619 #0C0B2D #19175E #26238F

Accessibility & contrast

On white

19.07
#0C0B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0C0B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0B2D
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B2D#FFFFFF#000000##FFFFFF
##0C0B2D1.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c0b2d;
/* rgb */ color: rgb(12, 11, 45);
/* oklch */ color: oklch(17.7% 0.066 278.5);
Tailwind
colors: {
  custom: {
    50: '#4e4b66',
    500: '#0c0b2d',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b2d;
$custom-light: #4e4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b2d",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 241.765,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17729,
    "c": 0.0663,
    "h": 278.5
  },
  "luminance": 0.00507
}

Semantic roles & 50–950 ramp

primary
#0C0B2D
secondary
#67692A
accent
#E444DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0C0B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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