#0B102D#0B102D

#0B102D is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.8% C 0.058 H 272.2°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#0B102D
RGBrgb(11, 16, 45)
HSLhsl(231, 61%, 11%)
HSVhsv(231, 76%, 18%)
CMYKcmyk(75.6%, 64.4%, 0%, 82.4%)
CIE-LABlab(5.70, 8.07, -19.90)
CIE-LCHlch(5.70, 21.47, 292.07°)
OKLaboklab(18.83% 0.0023 -0.0583)
OKLCHoklch(18.83% 0.058 272.2)
XYZxyz(0.7968, 0.6311, 2.5619)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B102D #2D280B
analogous
#0B212D #0B102D #170B2D
triadic
#0B102D #2D0B10 #102D0B
tetradic
#0B102D #2D0B21 #2D280B #0B2D17
square
#0B102D #2D0B21 #2D280B #0B2D17
split-complementary
#0B102D #2D170B #212D0B
monochromatic
#060919 #060919 #0B102D #17215E #23338F

Accessibility & contrast

On white

18.65
#0B102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B102D
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B102D#FFFFFF#000000##FFFFFF
##0B102D1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b102d;
/* rgb */ color: rgb(11, 16, 45);
/* oklch */ color: oklch(18.8% 0.058 272.2);
Tailwind
colors: {
  custom: {
    50: '#4e4e66',
    500: '#0b102d',
    950: '#000000',
  },
}
SCSS
$custom: #0b102d;
$custom-light: #4e4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#0b102d",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 231.176,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.1883,
    "c": 0.05839,
    "h": 272.2
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#0B102D
secondary
#69602A
accent
#CC44E4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B102D

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

Preview Lab → · Contrast checker → · Palette generator →

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