#0C103F#0C103F

#0C103F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.088 H 272.2°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0C103F
RGBrgb(12, 16, 63)
HSLhsl(235, 68%, 15%)
HSVhsv(235, 81%, 25%)
CMYKcmyk(81%, 74.6%, 0%, 75.3%)
CIE-LABlab(7.29, 17.10, -30.45)
CIE-LCHlch(7.29, 34.93, 299.32°)
OKLaboklab(20.76% 0.0034 -0.0881)
OKLCHoklch(20.76% 0.088 272.2)
XYZxyz(1.2338, 0.8075, 4.7925)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C103F #3F3B0C
analogous
#0C2A3F #0C103F #220C3F
triadic
#0C103F #3F0C10 #103F0C
tetradic
#0C103F #3F0C2A #3F3B0C #0C3F22
square
#0C103F #3F0C2A #3F3B0C #0C3F22
split-complementary
#0C103F #3F220C #2A3F0C
monochromatic
#05071A #05071A #0C103F #161D72 #202AA6

Accessibility & contrast

On white

18.08
#0C103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C103F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C103F#FFFFFF#000000##FFFFFF
##0C103F1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c103f;
/* rgb */ color: rgb(12, 16, 63);
/* oklch */ color: oklch(20.8% 0.088 272.2);
Tailwind
colors: {
  custom: {
    50: '#544e75',
    500: '#0c103f',
    950: '#000000',
  },
}
SCSS
$custom: #0c103f;
$custom-light: #544e75;
$custom-dark: #000000;
JSON
{
  "hex": "#0c103f",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 235.294,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20759,
    "c": 0.08817,
    "h": 272.2
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#0C103F
secondary
#7B752C
accent
#DD3DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C103F

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

Preview Lab → · Contrast checker → · Palette generator →

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