#0C033A#0C033A

#0C033A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.6% C 0.098 H 278.4°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#0C033A
RGBrgb(12, 3, 58)
HSLhsl(250, 90%, 12%)
HSVhsv(250, 95%, 23%)
CMYKcmyk(79.3%, 94.8%, 0%, 77.3%)
CIE-LABlab(4.05, 21.18, -32.13)
CIE-LCHlch(4.05, 38.48, 303.40°)
OKLaboklab(17.64% 0.0143 -0.0974)
OKLCHoklch(17.64% 0.098 278.4)
XYZxyz(0.9477, 0.4487, 4.0388)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C033A #313A03
analogous
#03163A #0C033A #28033A
triadic
#0C033A #3A0C03 #033A0C
tetradic
#0C033A #3A0316 #313A03 #033A28
square
#0C033A #3A0316 #313A03 #033A28
split-complementary
#0C033A #3A2803 #163A03
monochromatic
#06021D #06021D #0C033A #180674 #2409AE

Accessibility & contrast

On white

19.27
#0C033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0C033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C033A
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C033A#FFFFFF#000000##FFFFFF
##0C033A1.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103B
Deuteranopia (green-blind)
#000C39
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c033a;
/* rgb */ color: rgb(12, 3, 58);
/* oklch */ color: oklch(17.6% 0.098 278.4);
Tailwind
colors: {
  custom: {
    50: '#524771',
    500: '#0c033a',
    950: '#000000',
  },
}
SCSS
$custom: #0c033a;
$custom-light: #524771;
$custom-dark: #000000;
JSON
{
  "hex": "#0c033a",
  "rgb": {
    "r": 12,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 249.818,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17643,
    "c": 0.0984,
    "h": 278.4
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#0C033A
secondary
#6D7D1C
accent
#FF29DC
background
#F4F3F6
surface
#E8E5EC
border
#C4C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0C033A

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

Preview Lab → · Contrast checker → · Palette generator →

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