#0B0F56#0B0F56

#0B0F56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.3% C 0.123 H 269.6°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#0B0F56
RGBrgb(11, 15, 86)
HSLhsl(237, 77%, 19%)
HSVhsv(237, 87%, 34%)
CMYKcmyk(87.2%, 82.6%, 0%, 66.3%)
CIE-LABlab(9.68, 27.09, -42.55)
CIE-LCHlch(9.68, 50.44, 302.48°)
OKLaboklab(23.28% -0.0008 -0.1233)
OKLCHoklch(23.28% 0.123 269.6)
XYZxyz(1.9880, 1.0844, 8.9068)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F56 #56520B
analogous
#0B3556 #0B0F56 #2D0B56
triadic
#0B0F56 #560B0F #0F560B
tetradic
#0B0F56 #560B35 #56520B #0B562D
square
#0B0F56 #560B35 #56520B #0B562D
split-complementary
#0B0F56 #562D0B #35560B
monochromatic
#03051B #040620 #0B0F56 #12188C #1922C3

Accessibility & contrast

On white

17.26
#0B0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0B0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0F56
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F56#FFFFFF#000000##FFFFFF
##0B0F561.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001755
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b0f56;
/* rgb */ color: rgb(11, 15, 86);
/* oklch */ color: oklch(23.3% 0.123 269.6);
Tailwind
colors: {
  custom: {
    50: '#5b4e87',
    500: '#0b0f56',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f56;
$custom-light: #5b4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f56",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 236.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2328,
    "c": 0.12326,
    "h": 269.6
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#0B0F56
secondary
#918C2B
accent
#EA34F4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0B0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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