#0B0C2F#0B0C2F

#0B0C2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.068 H 275.9°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#0B0C2F
RGBrgb(11, 12, 47)
HSLhsl(238, 62%, 11%)
HSVhsv(238, 77%, 18%)
CMYKcmyk(76.6%, 74.5%, 0%, 81.6%)
CIE-LABlab(4.87, 11.05, -22.71)
CIE-LCHlch(4.87, 25.25, 295.96°)
OKLaboklab(18.07% 0.007 -0.068)
OKLCHoklch(18.07% 0.068 275.9)
XYZxyz(0.7824, 0.5393, 2.7516)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0C2F #2F2E0B
analogous
#0B1E2F #0B0C2F #1C0B2F
triadic
#0B0C2F #2F0B0C #0C2F0B
tetradic
#0B0C2F #2F0B1E #2F2E0B #0B2F1C
square
#0B0C2F #2F0B1E #2F2E0B #0B2F1C
split-complementary
#0B0C2F #2F1C0B #1E2F0B
monochromatic
#060619 #060619 #0B0C2F #171961 #222592

Accessibility & contrast

On white

18.96
#0B0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0B0C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0C2F
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0C2F#FFFFFF#000000##FFFFFF
##0B0C2F1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0b0c2f;
/* rgb */ color: rgb(11, 12, 47);
/* oklch */ color: oklch(18.1% 0.068 275.9);
Tailwind
colors: {
  custom: {
    50: '#4e4c68',
    500: '#0b0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #0b0c2f;
$custom-light: #4e4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0c2f",
  "rgb": {
    "r": 11,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 238.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18074,
    "c": 0.06837,
    "h": 275.9
  },
  "luminance": 0.00539
}

Semantic roles & 50–950 ramp

primary
#0B0C2F
secondary
#6B6A2A
accent
#E143E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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