#0C103C#0C103C

#0C103C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.083 H 272.5°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#0C103C
RGBrgb(12, 16, 60)
HSLhsl(235, 67%, 14%)
HSVhsv(235, 80%, 24%)
CMYKcmyk(80%, 73.3%, 0%, 76.5%)
CIE-LABlab(7.00, 15.72, -28.78)
CIE-LCHlch(7.00, 32.80, 298.65°)
OKLaboklab(20.43% 0.0037 -0.0833)
OKLCHoklch(20.43% 0.083 272.5)
XYZxyz(1.1522, 0.7749, 4.3629)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C103C #3C380C
analogous
#0C283C #0C103C #200C3C
triadic
#0C103C #3C0C10 #103C0C
tetradic
#0C103C #3C0C28 #3C380C #0C3C20
square
#0C103C #3C0C28 #3C380C #0C3C20
split-complementary
#0C103C #3C200C #283C0C
monochromatic
#05071A #05071A #0C103C #161E6F #202BA2

Accessibility & contrast

On white

18.18
#0C103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C103C
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C103C#FFFFFF#000000##FFFFFF
##0C103C1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c103c;
/* rgb */ color: rgb(12, 16, 60);
/* oklch */ color: oklch(20.4% 0.083 272.5);
Tailwind
colors: {
  custom: {
    50: '#534e72',
    500: '#0c103c',
    950: '#000000',
  },
}
SCSS
$custom: #0c103c;
$custom-light: #534e72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c103c",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 235,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20429,
    "c": 0.08341,
    "h": 272.5
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#0C103C
secondary
#78722C
accent
#DB3EEA
background
#F5F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0C103C

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

Preview Lab → · Contrast checker → · Palette generator →

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