#0C0D55#0C0D55

#0C0D55 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.9% C 0.124 H 270.6°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#0C0D55
RGBrgb(12, 13, 85)
HSLhsl(239, 75%, 19%)
HSVhsv(239, 86%, 33%)
CMYKcmyk(85.9%, 84.7%, 0%, 66.7%)
CIE-LABlab(9.17, 28.02, -42.70)
CIE-LCHlch(9.17, 51.08, 303.27°)
OKLaboklab(22.9% 0.0013 -0.1237)
OKLCHoklch(22.9% 0.124 270.6)
XYZxyz(1.9347, 1.0217, 8.6878)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0D55 #55540C
analogous
#0C3255 #0C0D55 #300C55
triadic
#0C0D55 #550C0D #0D550C
tetradic
#0C0D55 #550C32 #55540C #0C5530
square
#0C0D55 #550C32 #55540C #0C5530
split-complementary
#0C0D55 #55300C #32550C
monochromatic
#04041B #04051F #0C0D55 #14158B #1B1DC0

Accessibility & contrast

On white

17.44
#0C0D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0C0D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0D55
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0D55#FFFFFF#000000##FFFFFF
##0C0D551.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D57
Deuteranopia (green-blind)
#001654
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0c0d55;
/* rgb */ color: rgb(12, 13, 85);
/* oklch */ color: oklch(22.9% 0.124 270.6);
Tailwind
colors: {
  custom: {
    50: '#5b4d86',
    500: '#0c0d55',
    950: '#000000',
  },
}
SCSS
$custom: #0c0d55;
$custom-light: #5b4d86;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0d55",
  "rgb": {
    "r": 12,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 239.178,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.22902,
    "c": 0.12367,
    "h": 270.6
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#0C0D55
secondary
#908F2D
accent
#EF36F2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0C0D55

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

Preview Lab → · Contrast checker → · Palette generator →

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