#0C0B3E#0C0B3E

#0C0B3E is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.093 H 274.5°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#0C0B3E
RGBrgb(12, 11, 62)
HSLhsl(241, 70%, 14%)
HSVhsv(241, 82%, 24%)
CMYKcmyk(80.6%, 82.3%, 0%, 75.7%)
CIE-LABlab(6.01, 19.60, -31.84)
CIE-LCHlch(6.01, 37.39, 301.62°)
OKLaboklab(19.67% 0.0073 -0.093)
OKLCHoklch(19.67% 0.093 274.5)
XYZxyz(1.1405, 0.6652, 4.6248)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B3E #3D3E0B
analogous
#0B243E #0C0B3E #260B3E
triadic
#0C0B3E #3E0C0B #0B3E0C
tetradic
#0C0B3E #3E0B24 #3D3E0B #0B3E26
square
#0C0B3E #3E0B24 #3D3E0B #0B3E26
split-complementary
#0C0B3E #3E260B #243E0B
monochromatic
#05051A #05051A #0C0B3E #161472 #201DA6

Accessibility & contrast

On white

18.53
#0C0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0C0B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0B3E
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B3E#FFFFFF#000000##FFFFFF
##0C0B3E1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00113D
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c0b3e;
/* rgb */ color: rgb(12, 11, 62);
/* oklch */ color: oklch(19.7% 0.093 274.5);
Tailwind
colors: {
  custom: {
    50: '#544b74',
    500: '#0c0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b3e;
$custom-light: #544b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b3e",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 241.176,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19673,
    "c": 0.0933,
    "h": 274.5
  },
  "luminance": 0.00665
}

Semantic roles & 50–950 ramp

primary
#0C0B3E
secondary
#797B2A
accent
#ED3BE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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