#0B0C3D#0B0C3D

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

Color values

HEX#0B0C3D
RGBrgb(11, 12, 61)
HSLhsl(239, 69%, 14%)
HSVhsv(239, 82%, 24%)
CMYKcmyk(82%, 80.3%, 0%, 76.1%)
CIE-LABlab(6.06, 18.40, -31.04)
CIE-LCHlch(6.06, 36.08, 300.67°)
OKLaboklab(19.66% 0.0053 -0.0906)
OKLCHoklch(19.66% 0.091 273.4)
XYZxyz(1.1115, 0.6709, 4.4849)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0C3D #3D3C0B
analogous
#0B253D #0B0C3D #230B3D
triadic
#0B0C3D #3D0B0C #0C3D0B
tetradic
#0B0C3D #3D0B25 #3D3C0B #0B3D23
square
#0B0C3D #3D0B25 #3D3C0B #0B3D23
split-complementary
#0B0C3D #3D230B #253D0B
monochromatic
#05051A #05051A #0B0C3D #141671 #1E20A5

Accessibility & contrast

On white

18.52
#0B0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0C3D
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0C3D#FFFFFF#000000##FFFFFF
##0B0C3D1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00113C
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0b0c3d;
/* rgb */ color: rgb(11, 12, 61);
/* oklch */ color: oklch(19.7% 0.091 273.4);
Tailwind
colors: {
  custom: {
    50: '#534b73',
    500: '#0b0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #0b0c3d;
$custom-light: #534b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0c3d",
  "rgb": {
    "r": 11,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 238.8,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19662,
    "c": 0.09081,
    "h": 273.4
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#0B0C3D
secondary
#7A782A
accent
#E93CEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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