#0B0F2F#0B0F2F

#0B0F2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.064 H 273.3°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#0B0F2F
RGBrgb(11, 15, 47)
HSLhsl(233, 62%, 11%)
HSVhsv(233, 77%, 18%)
CMYKcmyk(76.6%, 68.1%, 0%, 81.6%)
CIE-LABlab(5.58, 9.60, -21.57)
CIE-LCHlch(5.58, 23.61, 293.99°)
OKLaboklab(18.77% 0.0036 -0.0635)
OKLCHoklch(18.77% 0.064 273.3)
XYZxyz(0.8218, 0.6180, 2.7647)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F2F #2F2B0B
analogous
#0B212F #0B0F2F #190B2F
triadic
#0B0F2F #2F0B0F #0F2F0B
tetradic
#0B0F2F #2F0B21 #2F2B0B #0B2F19
square
#0B0F2F #2F0B21 #2F2B0B #0B2F19
split-complementary
#0B0F2F #2F190B #212F0B
monochromatic
#060819 #060819 #0B0F2F #171F61 #222F92

Accessibility & contrast

On white

18.69
#0B0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B0F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0F2F
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F2F#FFFFFF#000000##FFFFFF
##0B0F2F1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0f2f;
/* rgb */ color: rgb(11, 15, 47);
/* oklch */ color: oklch(18.8% 0.064 273.3);
Tailwind
colors: {
  custom: {
    50: '#4e4d68',
    500: '#0b0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f2f;
$custom-light: #4e4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f2f",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 233.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18775,
    "c": 0.06356,
    "h": 273.3
  },
  "luminance": 0.00618
}

Semantic roles & 50–950 ramp

primary
#0B0F2F
secondary
#6B642A
accent
#D343E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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