#0B0F3E#0B0F3E

#0B0F3E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.088 H 271.9°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#0B0F3E
RGBrgb(11, 15, 62)
HSLhsl(235, 70%, 14%)
HSVhsv(235, 82%, 24%)
CMYKcmyk(82.3%, 75.8%, 0%, 75.7%)
CIE-LABlab(6.87, 17.13, -30.43)
CIE-LCHlch(6.87, 34.93, 299.38°)
OKLaboklab(20.37% 0.003 -0.0883)
OKLCHoklch(20.37% 0.088 271.9)
XYZxyz(1.1780, 0.7605, 4.6412)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F3E #3E3A0B
analogous
#0B293E #0B0F3E #210B3E
triadic
#0B0F3E #3E0B0F #0F3E0B
tetradic
#0B0F3E #3E0B29 #3E3A0B #0B3E21
square
#0B0F3E #3E0B29 #3E3A0B #0B3E21
split-complementary
#0B0F3E #3E210B #293E0B
monochromatic
#05061A #05061A #0B0F3E #141C72 #1D28A6

Accessibility & contrast

On white

18.23
#0B0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0F3E
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F3E#FFFFFF#000000##FFFFFF
##0B0F3E1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00133D
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b0f3e;
/* rgb */ color: rgb(11, 15, 62);
/* oklch */ color: oklch(20.4% 0.088 271.9);
Tailwind
colors: {
  custom: {
    50: '#534d74',
    500: '#0b0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f3e;
$custom-light: #534d74;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f3e",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 235.294,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20372,
    "c": 0.08831,
    "h": 271.9
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#0B0F3E
secondary
#7B742A
accent
#DF3BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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