#0B0F41#0B0F41

#0B0F41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.093 H 271.6°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#0B0F41
RGBrgb(11, 15, 65)
HSLhsl(236, 71%, 15%)
HSVhsv(236, 83%, 25%)
CMYKcmyk(83.1%, 76.9%, 0%, 74.5%)
CIE-LABlab(7.17, 18.52, -32.08)
CIE-LCHlch(7.17, 37.04, 300.01°)
OKLaboklab(20.72% 0.0027 -0.0929)
OKLCHoklch(20.72% 0.093 271.6)
XYZxyz(1.2626, 0.7943, 5.0868)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F41 #413D0B
analogous
#0B2A41 #0B0F41 #220B41
triadic
#0B0F41 #410B0F #0F410B
tetradic
#0B0F41 #410B2A #413D0B #0B4122
square
#0B0F41 #410B2A #413D0B #0B4122
split-complementary
#0B0F41 #41220B #2A410B
monochromatic
#04061A #04061A #0B0F41 #141B75 #1D27AA

Accessibility & contrast

On white

18.12
#0B0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0F41
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F41#FFFFFF#000000##FFFFFF
##0B0F411.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b0f41;
/* rgb */ color: rgb(11, 15, 65);
/* oklch */ color: oklch(20.7% 0.093 271.6);
Tailwind
colors: {
  custom: {
    50: '#544d76',
    500: '#0b0f41',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f41;
$custom-light: #544d76;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f41",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 235.556,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20716,
    "c": 0.09296,
    "h": 271.6
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#0B0F41
secondary
#7E772A
accent
#E03AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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