#0C103A#0C103A

#0C103A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.080 H 272.7°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#0C103A
RGBrgb(12, 16, 58)
HSLhsl(235, 66%, 14%)
HSVhsv(235, 79%, 23%)
CMYKcmyk(79.3%, 72.4%, 0%, 77.3%)
CIE-LABlab(6.81, 14.79, -27.65)
CIE-LCHlch(6.81, 31.35, 298.14°)
OKLaboklab(20.21% 0.0038 -0.0801)
OKLCHoklch(20.21% 0.08 272.7)
XYZxyz(1.1004, 0.7541, 4.0897)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C103A #3A360C
analogous
#0C273A #0C103A #1F0C3A
triadic
#0C103A #3A0C10 #103A0C
tetradic
#0C103A #3A0C27 #3A360C #0C3A1F
square
#0C103A #3A0C27 #3A360C #0C3A1F
split-complementary
#0C103A #3A1F0C #273A0C
monochromatic
#050719 #050719 #0C103A #161E6D #212C9F

Accessibility & contrast

On white

18.25
#0C103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C103A
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C103A#FFFFFF#000000##FFFFFF
##0C103A1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c103a;
/* rgb */ color: rgb(12, 16, 58);
/* oklch */ color: oklch(20.2% 0.080 272.7);
Tailwind
colors: {
  custom: {
    50: '#524e71',
    500: '#0c103a',
    950: '#000000',
  },
}
SCSS
$custom: #0c103a;
$custom-light: #524e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c103a",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 234.783,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20213,
    "c": 0.08019,
    "h": 272.7
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#0C103A
secondary
#76702C
accent
#DA3FE9
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0C103A

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

Preview Lab → · Contrast checker → · Palette generator →

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