#0C103B#0C103B

#0C103B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.082 H 272.6°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#0C103B
RGBrgb(12, 16, 59)
HSLhsl(235, 66%, 14%)
HSVhsv(235, 80%, 23%)
CMYKcmyk(79.7%, 72.9%, 0%, 76.9%)
CIE-LABlab(6.90, 15.26, -28.22)
CIE-LCHlch(6.90, 32.08, 298.40°)
OKLaboklab(20.32% 0.0037 -0.0817)
OKLCHoklch(20.32% 0.082 272.6)
XYZxyz(1.1261, 0.7644, 4.2250)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C103B #3B370C
analogous
#0C283B #0C103B #200C3B
triadic
#0C103B #3B0C10 #103B0C
tetradic
#0C103B #3B0C28 #3B370C #0C3B20
square
#0C103B #3B0C28 #3B370C #0C3B20
split-complementary
#0C103B #3B200C #283B0C
monochromatic
#050719 #050719 #0C103B #161E6E #212CA1

Accessibility & contrast

On white

18.21
#0C103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0C103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C103B
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C103B#FFFFFF#000000##FFFFFF
##0C103B1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c103b;
/* rgb */ color: rgb(12, 16, 59);
/* oklch */ color: oklch(20.3% 0.082 272.6);
Tailwind
colors: {
  custom: {
    50: '#534e71',
    500: '#0c103b',
    950: '#000000',
  },
}
SCSS
$custom: #0c103b;
$custom-light: #534e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c103b",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 234.894,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20321,
    "c": 0.08181,
    "h": 272.6
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#0C103B
secondary
#77712C
accent
#DB3FE9
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0C103B

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

Preview Lab → · Contrast checker → · Palette generator →

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