#0C1053#0C1053

#0C1053 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.118 H 270.3°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#0C1053
RGBrgb(12, 16, 83)
HSLhsl(237, 75%, 19%)
HSVhsv(237, 86%, 33%)
CMYKcmyk(85.5%, 80.7%, 0%, 67.5%)
CIE-LABlab(9.59, 25.36, -40.65)
CIE-LCHlch(9.59, 47.91, 301.96°)
OKLaboklab(23.12% 0.0006 -0.1177)
OKLCHoklch(23.12% 0.118 270.3)
XYZxyz(1.8977, 1.0731, 8.2890)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1053 #534F0C
analogous
#0C3353 #0C1053 #2B0C53
triadic
#0C1053 #530C10 #10530C
tetradic
#0C1053 #530C33 #534F0C #0C532B
square
#0C1053 #530C33 #534F0C #0C532B
split-complementary
#0C1053 #532B0C #33530C
monochromatic
#04051B #04061E #0C1053 #141A88 #1B25BE

Accessibility & contrast

On white

17.29
#0C1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0C1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1053
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1053#FFFFFF#000000##FFFFFF
##0C10531.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001752
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c1053;
/* rgb */ color: rgb(12, 16, 83);
/* oklch */ color: oklch(23.1% 0.118 270.3);
Tailwind
colors: {
  custom: {
    50: '#5a4f84',
    500: '#0c1053',
    950: '#000000',
  },
}
SCSS
$custom: #0c1053;
$custom-light: #5a4f84;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1053",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 236.62,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23121,
    "c": 0.11774,
    "h": 270.3
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#0C1053
secondary
#8E892D
accent
#E736F1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0C1053

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

Preview Lab → · Contrast checker → · Palette generator →

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