#0C0A2D#0C0A2D

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

Color values

HEX#0C0A2D
RGBrgb(12, 10, 45)
HSLhsl(243, 64%, 11%)
HSVhsv(243, 78%, 18%)
CMYKcmyk(73.3%, 77.8%, 0%, 82.4%)
CIE-LABlab(4.38, 11.18, -21.99)
CIE-LCHlch(4.38, 24.67, 296.96°)
OKLaboklab(17.51% 0.011 -0.067)
OKLCHoklch(17.51% 0.068 279.3)
XYZxyz(0.7337, 0.4847, 2.5370)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0A2D #2B2D0A
analogous
#0A192D #0C0A2D #1D0A2D
triadic
#0C0A2D #2D0C0A #0A2D0C
tetradic
#0C0A2D #2D0A19 #2B2D0A #0A2D1D
square
#0C0A2D #2D0A19 #2B2D0A #0A2D1D
split-complementary
#0C0A2D #2D1D0A #192D0A
monochromatic
#070619 #070619 #0C0A2D #19155F #272091

Accessibility & contrast

On white

19.14
#0C0A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0A2D
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0A2D#FFFFFF#000000##FFFFFF
##0C0A2D1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c0a2d;
/* rgb */ color: rgb(12, 10, 45);
/* oklch */ color: oklch(17.5% 0.068 279.3);
Tailwind
colors: {
  custom: {
    50: '#4e4b66',
    500: '#0c0a2d',
    950: '#000000',
  },
}
SCSS
$custom: #0c0a2d;
$custom-light: #4e4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0a2d",
  "rgb": {
    "r": 12,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 243.429,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17513,
    "c": 0.06788,
    "h": 279.3
  },
  "luminance": 0.00485
}

Semantic roles & 50–950 ramp

primary
#0C0A2D
secondary
#666A29
accent
#E741DD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0C0A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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