#0C083F#0C083F

#0C083F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.098 H 275.2°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#0C083F
RGBrgb(12, 8, 63)
HSLhsl(244, 77%, 14%)
HSVhsv(244, 87%, 25%)
CMYKcmyk(81%, 87.3%, 0%, 75.3%)
CIE-LABlab(5.52, 21.56, -33.36)
CIE-LCHlch(5.52, 39.72, 302.87°)
OKLaboklab(19.28% 0.009 -0.098)
OKLCHoklch(19.28% 0.098 275.2)
XYZxyz(1.1354, 0.6106, 4.7597)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C083F #3B3F08
analogous
#08203F #0C083F #28083F
triadic
#0C083F #3F0C08 #083F0C
tetradic
#0C083F #3F0820 #3B3F08 #083F28
square
#0C083F #3F0820 #3B3F08 #083F28
split-complementary
#0C083F #3F2808 #203F08
monochromatic
#05031B #05031B #0C083F #160F75 #2116AC

Accessibility & contrast

On white

18.71
#0C083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0C083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C083F
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C083F#FFFFFF#000000##FFFFFF
##0C083F1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0c083f;
/* rgb */ color: rgb(12, 8, 63);
/* oklch */ color: oklch(19.3% 0.098 275.2);
Tailwind
colors: {
  custom: {
    50: '#544975',
    500: '#0c083f',
    950: '#000000',
  },
}
SCSS
$custom: #0c083f;
$custom-light: #544975;
$custom-dark: #000000;
JSON
{
  "hex": "#0c083f",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 244.364,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19276,
    "c": 0.09843,
    "h": 275.2
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#0C083F
secondary
#777E25
accent
#F434E6
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C083F

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

Preview Lab → · Contrast checker → · Palette generator →

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