#0B052F#0B052F

#0B052F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.080 H 280.6°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#0B052F
RGBrgb(11, 5, 47)
HSLhsl(249, 81%, 10%)
HSVhsv(249, 89%, 18%)
CMYKcmyk(76.6%, 89.4%, 0%, 81.6%)
CIE-LABlab(3.48, 13.90, -24.93)
CIE-LCHlch(3.48, 28.54, 299.15°)
OKLaboklab(16.52% 0.0146 -0.0784)
OKLCHoklch(16.52% 0.08 280.6)
XYZxyz(0.7052, 0.3849, 2.7259)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B052F #292F05
analogous
#05142F #0B052F #20052F
triadic
#0B052F #2F0B05 #052F0B
tetradic
#0B052F #2F0514 #292F05 #052F20
square
#0B052F #2F0514 #292F05 #052F20
split-complementary
#0B052F #2F2005 #142F05
monochromatic
#06031C #06031C #0B052F #180B66 #25119E

Accessibility & contrast

On white

19.50
#0B052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0B052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B052F
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B052F#FFFFFF#000000##FFFFFF
##0B052F1.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000B2E
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b052f;
/* rgb */ color: rgb(11, 5, 47);
/* oklch */ color: oklch(16.5% 0.080 280.6);
Tailwind
colors: {
  custom: {
    50: '#4e4868',
    500: '#0b052f',
    950: '#000000',
  },
}
SCSS
$custom: #0b052f;
$custom-light: #4e4868;
$custom-dark: #000000;
JSON
{
  "hex": "#0b052f",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 248.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16517,
    "c": 0.07974,
    "h": 280.6
  },
  "luminance": 0.00385
}

Semantic roles & 50–950 ramp

primary
#0B052F
secondary
#65711F
accent
#F731DB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B052F

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

Preview Lab → · Contrast checker → · Palette generator →

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