#0B164E#0B164E

#0B164E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.103 H 268.2°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#0B164E
RGBrgb(11, 22, 78)
HSLhsl(230, 75%, 17%)
HSVhsv(230, 86%, 31%)
CMYKcmyk(85.9%, 71.8%, 0%, 69.4%)
CIE-LABlab(10.52, 18.96, -35.68)
CIE-LCHlch(10.52, 40.41, 297.98°)
OKLaboklab(23.61% -0.0032 -0.1033)
OKLCHoklch(23.61% 0.103 268.2)
XYZxyz(1.7996, 1.1948, 7.3420)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B164E #4E430B
analogous
#0B384E #0B164E #210B4E
triadic
#0B164E #4E0B16 #164E0B
tetradic
#0B164E #4E0B38 #4E430B #0B4E21
square
#0B164E #4E0B38 #4E430B #0B4E21
split-complementary
#0B164E #4E210B #384E0B
monochromatic
#04081B #04081B #0B164E #132584 #1A34B9

Accessibility & contrast

On white

16.95
#0B164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0B164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B164E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B164E#FFFFFF#000000##FFFFFF
##0B164E1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0b164e;
/* rgb */ color: rgb(11, 22, 78);
/* oklch */ color: oklch(23.6% 0.103 268.2);
Tailwind
colors: {
  custom: {
    50: '#585380',
    500: '#0b164e',
    950: '#000000',
  },
}
SCSS
$custom: #0b164e;
$custom-light: #585380;
$custom-dark: #000000;
JSON
{
  "hex": "#0b164e",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 230.149,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23609,
    "c": 0.10332,
    "h": 268.2
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#0B164E
secondary
#8A7A2B
accent
#D336F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B164E

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

Preview Lab → · Contrast checker → · Palette generator →

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