#0C103D#0C103D

#0C103D is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.085 H 272.4°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#0C103D
RGBrgb(12, 16, 61)
HSLhsl(235, 67%, 14%)
HSVhsv(235, 80%, 24%)
CMYKcmyk(80.3%, 73.8%, 0%, 76.1%)
CIE-LABlab(7.10, 16.19, -29.34)
CIE-LCHlch(7.10, 33.51, 298.88°)
OKLaboklab(20.54% 0.0036 -0.0849)
OKLCHoklch(20.54% 0.085 272.4)
XYZxyz(1.1789, 0.7856, 4.5035)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C103D #3D390C
analogous
#0C293D #0C103D #210C3D
triadic
#0C103D #3D0C10 #103D0C
tetradic
#0C103D #3D0C29 #3D390C #0C3D21
square
#0C103D #3D0C29 #3D390C #0C3D21
split-complementary
#0C103D #3D210C #293D0C
monochromatic
#05071A #05071A #0C103D #161D70 #202BA3

Accessibility & contrast

On white

18.15
#0C103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0C103D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C103D
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C103D#FFFFFF#000000##FFFFFF
##0C103D1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c103d;
/* rgb */ color: rgb(12, 16, 61);
/* oklch */ color: oklch(20.5% 0.085 272.4);
Tailwind
colors: {
  custom: {
    50: '#534e73',
    500: '#0c103d',
    950: '#000000',
  },
}
SCSS
$custom: #0c103d;
$custom-light: #534e73;
$custom-dark: #000000;
JSON
{
  "hex": "#0c103d",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 235.102,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20538,
    "c": 0.08501,
    "h": 272.4
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#0C103D
secondary
#79732C
accent
#DC3EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C103D

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

Preview Lab → · Contrast checker → · Palette generator →

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