#0B142F#0B142F

#0B142F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.0% C 0.055 H 267.4°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#0B142F
RGBrgb(11, 20, 47)
HSLhsl(225, 62%, 11%)
HSVhsv(225, 77%, 18%)
CMYKcmyk(76.6%, 57.4%, 0%, 81.6%)
CIE-LABlab(7.01, 6.62, -19.29)
CIE-LCHlch(7.01, 20.39, 288.94°)
OKLaboklab(20.05% -0.0025 -0.0554)
OKLCHoklch(20.05% 0.055 267.4)
XYZxyz(0.9011, 0.7766, 2.7912)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B142F #2F260B
analogous
#0B262F #0B142F #140B2F
triadic
#0B142F #2F0B14 #142F0B
tetradic
#0B142F #2F0B26 #2F260B #0B2F14
square
#0B142F #2F0B26 #2F260B #0B2F14
split-complementary
#0B142F #2F140B #262F0B
monochromatic
#060B19 #060B19 #0B142F #172961 #223E92

Accessibility & contrast

On white

18.18
#0B142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B142F
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B142F#FFFFFF#000000##FFFFFF
##0B142F1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071730
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b142f;
/* rgb */ color: rgb(11, 20, 47);
/* oklch */ color: oklch(20.0% 0.055 267.4);
Tailwind
colors: {
  custom: {
    50: '#4e5167',
    500: '#0b142f',
    950: '#000000',
  },
}
SCSS
$custom: #0b142f;
$custom-light: #4e5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0b142f",
  "rgb": {
    "r": 11,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 225,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20047,
    "c": 0.05545,
    "h": 267.4
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#0B142F
secondary
#6B5B2A
accent
#BD43E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B142F

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

Preview Lab → · Contrast checker → · Palette generator →

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