#0C033B#0C033B

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

Color values

HEX#0C033B
RGBrgb(12, 3, 59)
HSLhsl(250, 90%, 12%)
HSVhsv(250, 95%, 23%)
CMYKcmyk(79.7%, 94.9%, 0%, 76.9%)
CIE-LABlab(4.15, 21.74, -32.70)
CIE-LCHlch(4.15, 39.27, 303.62°)
OKLaboklab(17.78% 0.0139 -0.0988)
OKLCHoklch(17.78% 0.1 278)
XYZxyz(0.9733, 0.4590, 4.1741)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C033B #323B03
analogous
#03163B #0C033B #28033B
triadic
#0C033B #3B0C03 #033B0C
tetradic
#0C033B #3B0316 #323B03 #033B28
square
#0C033B #3B0316 #323B03 #033B28
split-complementary
#0C033B #3B2803 #163B03
monochromatic
#06011D #06011D #0C033B #180675 #2409AF

Accessibility & contrast

On white

19.23
#0C033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C033B
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C033B#FFFFFF#000000##FFFFFF
##0C033B1.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113D
Deuteranopia (green-blind)
#000C3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c033b;
/* rgb */ color: rgb(12, 3, 59);
/* oklch */ color: oklch(17.8% 0.100 278.0);
Tailwind
colors: {
  custom: {
    50: '#534772',
    500: '#0c033b',
    950: '#000000',
  },
}
SCSS
$custom: #0c033b;
$custom-light: #534772;
$custom-dark: #000000;
JSON
{
  "hex": "#0c033b",
  "rgb": {
    "r": 12,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 249.643,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17784,
    "c": 0.09973,
    "h": 278
  },
  "luminance": 0.00459
}

Semantic roles & 50–950 ramp

primary
#0C033B
secondary
#6E7E1C
accent
#FF29DD
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0C033B

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

Preview Lab → · Contrast checker → · Palette generator →

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