#0C1055#0C1055

#0C1055 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.4% C 0.121 H 270.1°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#0C1055
RGBrgb(12, 16, 85)
HSLhsl(237, 75%, 19%)
HSVhsv(237, 86%, 33%)
CMYKcmyk(85.9%, 81.2%, 0%, 66.7%)
CIE-LABlab(9.83, 26.14, -41.61)
CIE-LCHlch(9.83, 49.14, 302.14°)
OKLaboklab(23.37% 0.0002 -0.1205)
OKLCHoklch(23.37% 0.121 270.1)
XYZxyz(1.9760, 1.1044, 8.7016)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1055 #55510C
analogous
#0C3555 #0C1055 #2D0C55
triadic
#0C1055 #550C10 #10550C
tetradic
#0C1055 #550C35 #55510C #0C552D
square
#0C1055 #550C35 #55510C #0C552D
split-complementary
#0C1055 #552D0C #35550C
monochromatic
#04051B #04061F #0C1055 #141A8B #1B24C0

Accessibility & contrast

On white

17.20
#0C1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0C1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1055
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1055#FFFFFF#000000##FFFFFF
##0C10551.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001754
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c1055;
/* rgb */ color: rgb(12, 16, 85);
/* oklch */ color: oklch(23.4% 0.121 270.1);
Tailwind
colors: {
  custom: {
    50: '#5b4f86',
    500: '#0c1055',
    950: '#000000',
  },
}
SCSS
$custom: #0c1055;
$custom-light: #5b4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1055",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 236.712,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2337,
    "c": 0.12052,
    "h": 270.1
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#0C1055
secondary
#908B2D
accent
#E836F2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0C1055

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

Preview Lab → · Contrast checker → · Palette generator →

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