#0B0C3E#0B0C3E

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

Color values

HEX#0B0C3E
RGBrgb(11, 12, 62)
HSLhsl(239, 70%, 14%)
HSVhsv(239, 82%, 24%)
CMYKcmyk(82.3%, 80.6%, 0%, 75.7%)
CIE-LABlab(6.16, 18.90, -31.59)
CIE-LCHlch(6.16, 36.81, 300.89°)
OKLaboklab(19.78% 0.0052 -0.0922)
OKLCHoklch(19.78% 0.092 273.2)
XYZxyz(1.1387, 0.6818, 4.6281)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0C3E #3E3D0B
analogous
#0B263E #0B0C3E #240B3E
triadic
#0B0C3E #3E0B0C #0C3E0B
tetradic
#0B0C3E #3E0B26 #3E3D0B #0B3E24
square
#0B0C3E #3E0B26 #3E3D0B #0B3E24
split-complementary
#0B0C3E #3E240B #263E0B
monochromatic
#05051A #05051A #0B0C3E #141672 #1D20A6

Accessibility & contrast

On white

18.48
#0B0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0B0C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0C3E
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0C3E#FFFFFF#000000##FFFFFF
##0B0C3E1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00113D
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b0c3e;
/* rgb */ color: rgb(11, 12, 62);
/* oklch */ color: oklch(19.8% 0.092 273.2);
Tailwind
colors: {
  custom: {
    50: '#534b74',
    500: '#0b0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #0b0c3e;
$custom-light: #534b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0c3e",
  "rgb": {
    "r": 11,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 238.824,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19782,
    "c": 0.09233,
    "h": 273.2
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#0B0C3E
secondary
#7B792A
accent
#E93BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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