#0B0F3D#0B0F3D

#0B0F3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.087 H 272.0°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#0B0F3D
RGBrgb(11, 15, 61)
HSLhsl(235, 69%, 14%)
HSVhsv(235, 82%, 24%)
CMYKcmyk(82%, 75.4%, 0%, 76.1%)
CIE-LABlab(6.77, 16.66, -29.88)
CIE-LCHlch(6.77, 34.21, 299.15°)
OKLaboklab(20.26% 0.0031 -0.0867)
OKLCHoklch(20.26% 0.087 272)
XYZxyz(1.1509, 0.7496, 4.4980)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F3D #3D390B
analogous
#0B283D #0B0F3D #200B3D
triadic
#0B0F3D #3D0B0F #0F3D0B
tetradic
#0B0F3D #3D0B28 #3D390B #0B3D20
square
#0B0F3D #3D0B28 #3D390B #0B3D20
split-complementary
#0B0F3D #3D200B #283D0B
monochromatic
#05061A #05061A #0B0F3D #141C71 #1E29A5

Accessibility & contrast

On white

18.26
#0B0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0B0F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0F3D
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F3D#FFFFFF#000000##FFFFFF
##0B0F3D1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b0f3d;
/* rgb */ color: rgb(11, 15, 61);
/* oklch */ color: oklch(20.3% 0.087 272.0);
Tailwind
colors: {
  custom: {
    50: '#534d73',
    500: '#0b0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f3d;
$custom-light: #534d73;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f3d",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 235.2,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20259,
    "c": 0.08675,
    "h": 272
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#0B0F3D
secondary
#7A732A
accent
#DE3CEC
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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