#0B102F#0B102F

#0B102F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.062 H 272.2°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#0B102F
RGBrgb(11, 16, 47)
HSLhsl(232, 62%, 11%)
HSVhsv(232, 77%, 18%)
CMYKcmyk(76.6%, 66%, 0%, 81.6%)
CIE-LABlab(5.84, 9.07, -21.16)
CIE-LCHlch(5.84, 23.02, 293.20°)
OKLaboklab(19.02% 0.0024 -0.0619)
OKLCHoklch(19.02% 0.062 272.2)
XYZxyz(0.8362, 0.6469, 2.7696)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B102F #2F2A0B
analogous
#0B222F #0B102F #180B2F
triadic
#0B102F #2F0B10 #102F0B
tetradic
#0B102F #2F0B22 #2F2A0B #0B2F18
square
#0B102F #2F0B22 #2F2A0B #0B2F18
split-complementary
#0B102F #2F180B #222F0B
monochromatic
#060819 #060819 #0B102F #172161 #223292

Accessibility & contrast

On white

18.59
#0B102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0B102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B102F
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B102F#FFFFFF#000000##FFFFFF
##0B102F1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b102f;
/* rgb */ color: rgb(11, 16, 47);
/* oklch */ color: oklch(19.0% 0.062 272.2);
Tailwind
colors: {
  custom: {
    50: '#4e4e68',
    500: '#0b102f',
    950: '#000000',
  },
}
SCSS
$custom: #0b102f;
$custom-light: #4e4e68;
$custom-dark: #000000;
JSON
{
  "hex": "#0b102f",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 231.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1902,
    "c": 0.06194,
    "h": 272.2
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#0B102F
secondary
#6B622A
accent
#CF43E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B102F

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

Preview Lab → · Contrast checker → · Palette generator →

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