#0C033F#0C033F

#0C033F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.105 H 276.7°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#0C033F
RGBrgb(12, 3, 63)
HSLhsl(249, 91%, 13%)
HSVhsv(249, 95%, 25%)
CMYKcmyk(81%, 95.2%, 0%, 75.3%)
CIE-LABlab(4.54, 23.93, -34.96)
CIE-LCHlch(4.54, 42.37, 304.39°)
OKLaboklab(18.35% 0.0122 -0.1043)
OKLCHoklch(18.35% 0.105 276.7)
XYZxyz(1.0811, 0.5021, 4.7416)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C033F #363F03
analogous
#03183F #0C033F #2A033F
triadic
#0C033F #3F0C03 #033F0C
tetradic
#0C033F #3F0318 #363F03 #033F2A
square
#0C033F #3F0318 #363F03 #033F2A
split-complementary
#0C033F #3F2A03 #183F03
monochromatic
#06011D #06011D #0C033F #170679 #2209B4

Accessibility & contrast

On white

19.08
#0C033F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0C033F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C033F
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C033F#FFFFFF#000000##FFFFFF
##0C033F1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001241
Deuteranopia (green-blind)
#000D3E
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c033f;
/* rgb */ color: rgb(12, 3, 63);
/* oklch */ color: oklch(18.4% 0.105 276.7);
Tailwind
colors: {
  custom: {
    50: '#544675',
    500: '#0c033f',
    950: '#000000',
  },
}
SCSS
$custom: #0c033f;
$custom-light: #544675;
$custom-dark: #000000;
JSON
{
  "hex": "#0c033f",
  "rgb": {
    "r": 12,
    "g": 3,
    "b": 63
  },
  "hsl": {
    "h": 249,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.1835,
    "c": 0.10504,
    "h": 276.7
  },
  "luminance": 0.00502
}

Semantic roles & 50–950 ramp

primary
#0C033F
secondary
#72811D
accent
#FF29DF
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0C033F

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

Preview Lab → · Contrast checker → · Palette generator →

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