#0B0F37#0B0F37

#0B0F37 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.077 H 272.6°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#0B0F37
RGBrgb(11, 15, 55)
HSLhsl(235, 67%, 13%)
HSVhsv(235, 80%, 22%)
CMYKcmyk(80%, 72.7%, 0%, 78.4%)
CIE-LABlab(6.22, 13.72, -26.44)
CIE-LCHlch(6.22, 29.79, 297.43°)
OKLaboklab(19.6% 0.0035 -0.077)
OKLCHoklch(19.6% 0.077 272.6)
XYZxyz(0.9982, 0.6885, 3.6940)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F37 #37330B
analogous
#0B2537 #0B0F37 #1D0B37
triadic
#0B0F37 #370B0F #0F370B
tetradic
#0B0F37 #370B25 #37330B #0B371D
square
#0B0F37 #370B25 #37330B #0B371D
split-complementary
#0B0F37 #371D0B #25370B
monochromatic
#05071A #05071A #0B0F37 #151D6A #1F2B9D

Accessibility & contrast

On white

18.46
#0B0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0B0F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0F37
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F37#FFFFFF#000000##FFFFFF
##0B0F371.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b0f37;
/* rgb */ color: rgb(11, 15, 55);
/* oklch */ color: oklch(19.6% 0.077 272.6);
Tailwind
colors: {
  custom: {
    50: '#514d6e',
    500: '#0b0f37',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f37;
$custom-light: #514d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f37",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 234.545,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19599,
    "c": 0.0771,
    "h": 272.6
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#0B0F37
secondary
#746D2A
accent
#DA3EEA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0B0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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