#0C0B2E#0C0B2E

#0C0B2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.068 H 278.2°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#0C0B2E
RGBrgb(12, 11, 46)
HSLhsl(242, 61%, 11%)
HSVhsv(242, 76%, 18%)
CMYKcmyk(73.9%, 76.1%, 0%, 82%)
CIE-LABlab(4.65, 11.27, -22.31)
CIE-LCHlch(4.65, 24.99, 296.80°)
OKLaboklab(17.84% 0.0097 -0.0673)
OKLCHoklch(17.84% 0.068 278.2)
XYZxyz(0.7643, 0.5147, 2.6433)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B2E #2D2E0B
analogous
#0B1B2E #0C0B2E #1D0B2E
triadic
#0C0B2E #2E0C0B #0B2E0C
tetradic
#0C0B2E #2E0B1B #2D2E0B #0B2E1D
square
#0C0B2E #2E0B1B #2D2E0B #0B2E1D
split-complementary
#0C0B2E #2E1D0B #1B2E0B
monochromatic
#060619 #060619 #0C0B2E #19175F #262391

Accessibility & contrast

On white

19.04
#0C0B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0B2E
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B2E#FFFFFF#000000##FFFFFF
##0C0B2E1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c0b2e;
/* rgb */ color: rgb(12, 11, 46);
/* oklch */ color: oklch(17.8% 0.068 278.2);
Tailwind
colors: {
  custom: {
    50: '#4e4b67',
    500: '#0c0b2e',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b2e;
$custom-light: #4e4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b2e",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 241.714,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17836,
    "c": 0.06798,
    "h": 278.2
  },
  "luminance": 0.00515
}

Semantic roles & 50–950 ramp

primary
#0C0B2E
secondary
#696A2A
accent
#E543E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0C0B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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