#0C0B3D#0C0B3D

#0C0B3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.092 H 274.7°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#0C0B3D
RGBrgb(12, 11, 61)
HSLhsl(241, 69%, 14%)
HSVhsv(241, 82%, 24%)
CMYKcmyk(80.3%, 82%, 0%, 76.1%)
CIE-LABlab(5.91, 19.11, -31.28)
CIE-LCHlch(5.91, 36.65, 301.43°)
OKLaboklab(19.55% 0.0075 -0.0915)
OKLCHoklch(19.55% 0.092 274.7)
XYZxyz(1.1133, 0.6543, 4.4816)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B3D #3C3D0B
analogous
#0B233D #0C0B3D #250B3D
triadic
#0C0B3D #3D0C0B #0B3D0C
tetradic
#0C0B3D #3D0B23 #3C3D0B #0B3D25
square
#0C0B3D #3D0B23 #3C3D0B #0B3D25
split-complementary
#0C0B3D #3D250B #233D0B
monochromatic
#05051A #05051A #0C0B3D #161471 #201EA5

Accessibility & contrast

On white

18.57
#0C0B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0B3D
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B3D#FFFFFF#000000##FFFFFF
##0C0B3D1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153E
Deuteranopia (green-blind)
#00113C
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c0b3d;
/* rgb */ color: rgb(12, 11, 61);
/* oklch */ color: oklch(19.6% 0.092 274.7);
Tailwind
colors: {
  custom: {
    50: '#534b73',
    500: '#0c0b3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b3d;
$custom-light: #534b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b3d",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 241.2,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19552,
    "c": 0.0918,
    "h": 274.7
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#0C0B3D
secondary
#787A2A
accent
#EC3CE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C0B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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