#0C103E#0C103E

#0C103E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.087 H 272.3°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#0C103E
RGBrgb(12, 16, 62)
HSLhsl(235, 68%, 15%)
HSVhsv(235, 81%, 24%)
CMYKcmyk(80.6%, 74.2%, 0%, 75.7%)
CIE-LABlab(7.19, 16.65, -29.90)
CIE-LCHlch(7.19, 34.23, 299.11°)
OKLaboklab(20.65% 0.0035 -0.0865)
OKLCHoklch(20.65% 0.087 272.3)
XYZxyz(1.2061, 0.7964, 4.6467)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C103E #3E3A0C
analogous
#0C293E #0C103E #210C3E
triadic
#0C103E #3E0C10 #103E0C
tetradic
#0C103E #3E0C29 #3E3A0C #0C3E21
square
#0C103E #3E0C29 #3E3A0C #0C3E21
split-complementary
#0C103E #3E210C #293E0C
monochromatic
#05071A #05071A #0C103E #161D71 #202AA5

Accessibility & contrast

On white

18.11
#0C103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C103E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C103E#FFFFFF#000000##FFFFFF
##0C103E1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c103e;
/* rgb */ color: rgb(12, 16, 62);
/* oklch */ color: oklch(20.6% 0.087 272.3);
Tailwind
colors: {
  custom: {
    50: '#544e74',
    500: '#0c103e',
    950: '#000000',
  },
}
SCSS
$custom: #0c103e;
$custom-light: #544e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c103e",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 235.2,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20648,
    "c": 0.08659,
    "h": 272.3
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#0C103E
secondary
#7A742C
accent
#DD3DEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C103E

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

Preview Lab → · Contrast checker → · Palette generator →

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