#0C053D#0C053D

#0C053D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.100 H 276.7°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#0C053D
RGBrgb(12, 5, 61)
HSLhsl(248, 85%, 13%)
HSVhsv(248, 92%, 24%)
CMYKcmyk(80.3%, 91.8%, 0%, 76.1%)
CIE-LABlab(4.73, 21.94, -33.20)
CIE-LCHlch(4.73, 39.79, 303.45°)
OKLaboklab(18.46% 0.0116 -0.0989)
OKLCHoklch(18.46% 0.1 276.7)
XYZxyz(1.0479, 0.5235, 4.4598)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C053D #363D05
analogous
#051A3D #0C053D #28053D
triadic
#0C053D #3D0C05 #053D0C
tetradic
#0C053D #3D051A #363D05 #053D28
square
#0C053D #3D051A #363D05 #053D28
split-complementary
#0C053D #3D2805 #1A3D05
monochromatic
#06021C #06021C #0C053D #170A76 #220EAE

Accessibility & contrast

On white

19.01
#0C053D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0C053D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C053D
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C053D#FFFFFF#000000##FFFFFF
##0C053D1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123F
Deuteranopia (green-blind)
#000E3C
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c053d;
/* rgb */ color: rgb(12, 5, 61);
/* oklch */ color: oklch(18.5% 0.100 276.7);
Tailwind
colors: {
  custom: {
    50: '#534873',
    500: '#0c053d',
    950: '#000000',
  },
}
SCSS
$custom: #0c053d;
$custom-light: #534873;
$custom-dark: #000000;
JSON
{
  "hex": "#0c053d",
  "rgb": {
    "r": 12,
    "g": 5,
    "b": 61
  },
  "hsl": {
    "h": 247.5,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18459,
    "c": 0.09955,
    "h": 276.7
  },
  "luminance": 0.00524
}

Semantic roles & 50–950 ramp

primary
#0C053D
secondary
#727E20
accent
#FB2DE1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0C053D

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

Preview Lab → · Contrast checker → · Palette generator →

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