#0B042F#0B042F

#0B042F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.082 H 281.2°. Best body text is #FFFFFF at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#0B042F
RGBrgb(11, 4, 47)
HSLhsl(250, 84%, 10%)
HSVhsv(250, 91%, 18%)
CMYKcmyk(76.6%, 91.5%, 0%, 81.6%)
CIE-LABlab(3.28, 14.30, -25.24)
CIE-LCHlch(3.28, 29.01, 299.54°)
OKLaboklab(16.27% 0.0158 -0.08)
OKLCHoklch(16.27% 0.082 281.2)
XYZxyz(0.6944, 0.3632, 2.7223)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B042F #282F04
analogous
#04132F #0B042F #20042F
triadic
#0B042F #2F0B04 #042F0B
tetradic
#0B042F #2F0413 #282F04 #042F20
square
#0B042F #2F0413 #282F04 #042F20
split-complementary
#0B042F #2F2004 #132F04
monochromatic
#07021C #07021C #0B042F #180967 #250EA0

Accessibility & contrast

On white

19.58
#0B042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0B042F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B042F
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B042F#FFFFFF#000000##FFFFFF
##0B042F1.0019.581.0719.58
#FFFFFF19.581.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b042f;
/* rgb */ color: rgb(11, 4, 47);
/* oklch */ color: oklch(16.3% 0.082 281.2);
Tailwind
colors: {
  custom: {
    50: '#4e4868',
    500: '#0b042f',
    950: '#000000',
  },
}
SCSS
$custom: #0b042f;
$custom-light: #4e4868;
$custom-dark: #000000;
JSON
{
  "hex": "#0b042f",
  "rgb": {
    "r": 11,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 249.767,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.16273,
    "c": 0.0816,
    "h": 281.2
  },
  "luminance": 0.00363
}

Semantic roles & 50–950 ramp

primary
#0B042F
secondary
#64721D
accent
#FB2DD9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B042F

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

Preview Lab → · Contrast checker → · Palette generator →

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