#0B0E2F#0B0E2F

#0B0E2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.065 H 274.2°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#0B0E2F
RGBrgb(11, 14, 47)
HSLhsl(235, 62%, 11%)
HSVhsv(235, 77%, 18%)
CMYKcmyk(76.6%, 70.2%, 0%, 81.6%)
CIE-LABlab(5.33, 10.11, -21.97)
CIE-LCHlch(5.33, 24.19, 294.71°)
OKLaboklab(18.54% 0.0048 -0.065)
OKLCHoklch(18.54% 0.065 274.2)
XYZxyz(0.8080, 0.5904, 2.7602)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0E2F #2F2C0B
analogous
#0B202F #0B0E2F #1A0B2F
triadic
#0B0E2F #2F0B0E #0E2F0B
tetradic
#0B0E2F #2F0B20 #2F2C0B #0B2F1A
square
#0B0E2F #2F0B20 #2F2C0B #0B2F1A
split-complementary
#0B0E2F #2F1A0B #202F0B
monochromatic
#060719 #060719 #0B0E2F #171D61 #222C92

Accessibility & contrast

On white

18.78
#0B0E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B0E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0E2F
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0E2F#FFFFFF#000000##FFFFFF
##0B0E2F1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0e2f;
/* rgb */ color: rgb(11, 14, 47);
/* oklch */ color: oklch(18.5% 0.065 274.2);
Tailwind
colors: {
  custom: {
    50: '#4e4d68',
    500: '#0b0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #0b0e2f;
$custom-light: #4e4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0e2f",
  "rgb": {
    "r": 11,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 235,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18535,
    "c": 0.06519,
    "h": 274.2
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#0B0E2F
secondary
#6B662A
accent
#D843E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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