#0C083E#0C083E

#0C083E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.097 H 275.5°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#0C083E
RGBrgb(12, 8, 62)
HSLhsl(244, 77%, 14%)
HSVhsv(244, 87%, 24%)
CMYKcmyk(80.6%, 87.1%, 0%, 75.7%)
CIE-LABlab(5.42, 21.05, -32.80)
CIE-LCHlch(5.42, 38.98, 302.69°)
OKLaboklab(19.15% 0.0093 -0.0965)
OKLCHoklch(19.15% 0.097 275.5)
XYZxyz(1.1077, 0.5995, 4.6138)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C083E #3A3E08
analogous
#081F3E #0C083E #27083E
triadic
#0C083E #3E0C08 #083E0C
tetradic
#0C083E #3E081F #3A3E08 #083E27
square
#0C083E #3E081F #3A3E08 #083E27
split-complementary
#0C083E #3E2708 #1F3E08
monochromatic
#05031B #05031B #0C083E #160F74 #2116AA

Accessibility & contrast

On white

18.75
#0C083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C083E
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C083E#FFFFFF#000000##FFFFFF
##0C083E1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001440
Deuteranopia (green-blind)
#000F3D
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0c083e;
/* rgb */ color: rgb(12, 8, 62);
/* oklch */ color: oklch(19.1% 0.097 275.5);
Tailwind
colors: {
  custom: {
    50: '#544974',
    500: '#0c083e',
    950: '#000000',
  },
}
SCSS
$custom: #0c083e;
$custom-light: #544974;
$custom-dark: #000000;
JSON
{
  "hex": "#0c083e",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 244.444,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19147,
    "c": 0.09699,
    "h": 275.5
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#0C083E
secondary
#767D25
accent
#F434E5
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C083E

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

Preview Lab → · Contrast checker → · Palette generator →

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