#0B0A2F#0B0A2F

#0B0A2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.071 H 277.3°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#0B0A2F
RGBrgb(11, 10, 47)
HSLhsl(242, 65%, 11%)
HSVhsv(242, 79%, 18%)
CMYKcmyk(76.6%, 78.7%, 0%, 81.6%)
CIE-LABlab(4.46, 11.90, -23.37)
CIE-LCHlch(4.46, 26.22, 296.99°)
OKLaboklab(17.64% 0.0091 -0.0709)
OKLCHoklch(17.64% 0.071 277.3)
XYZxyz(0.7595, 0.4934, 2.7440)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0A2F #2E2F0A
analogous
#0A1B2F #0B0A2F #1D0A2F
triadic
#0B0A2F #2F0B0A #0A2F0B
tetradic
#0B0A2F #2F0A1B #2E2F0A #0A2F1D
square
#0B0A2F #2F0A1B #2E2F0A #0A2F1D
split-complementary
#0B0A2F #2F1D0A #1B2F0A
monochromatic
#060519 #060519 #0B0A2F #171561 #231F94

Accessibility & contrast

On white

19.12
#0B0A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0B0A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0A2F
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0A2F#FFFFFF#000000##FFFFFF
##0B0A2F1.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0b0a2f;
/* rgb */ color: rgb(11, 10, 47);
/* oklch */ color: oklch(17.6% 0.071 277.3);
Tailwind
colors: {
  custom: {
    50: '#4e4b68',
    500: '#0b0a2f',
    950: '#000000',
  },
}
SCSS
$custom: #0b0a2f;
$custom-light: #4e4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0a2f",
  "rgb": {
    "r": 11,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 241.622,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.1764,
    "c": 0.07146,
    "h": 277.3
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#0B0A2F
secondary
#6A6C29
accent
#E840E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B0A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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