#0F0B56#0F0B56

#0F0B56 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.9% C 0.126 H 272.6°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#0F0B56
RGBrgb(15, 11, 86)
HSLhsl(243, 77%, 19%)
HSVhsv(243, 87%, 34%)
CMYKcmyk(82.6%, 87.2%, 0%, 66.3%)
CIE-LABlab(9.10, 29.77, -43.50)
CIE-LCHlch(9.10, 52.71, 304.38°)
OKLaboklab(22.94% 0.0057 -0.1259)
OKLCHoklch(22.94% 0.126 272.6)
XYZxyz(1.9958, 1.0126, 8.8926)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B56 #52560B
analogous
#0B2D56 #0F0B56 #350B56
triadic
#0F0B56 #560F0B #0B560F
tetradic
#0F0B56 #560B2D #52560B #0B5635
square
#0F0B56 #560B2D #52560B #0B5635
split-complementary
#0F0B56 #56350B #2D560B
monochromatic
#05031B #060420 #0F0B56 #18128C #2219C3

Accessibility & contrast

On white

17.46
#0F0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B56
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B56#FFFFFF#000000##FFFFFF
##0F0B561.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D58
Deuteranopia (green-blind)
#001655
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f0b56;
/* rgb */ color: rgb(15, 11, 86);
/* oklch */ color: oklch(22.9% 0.126 272.6);
Tailwind
colors: {
  custom: {
    50: '#5d4c87',
    500: '#0f0b56',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b56;
$custom-light: #5d4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b56",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 243.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2294,
    "c": 0.12601,
    "h": 272.6
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#0F0B56
secondary
#8C912B
accent
#F434EA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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