#0B174E#0B174E

#0B174E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.102 H 267.9°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#0B174E
RGBrgb(11, 23, 78)
HSLhsl(229, 75%, 17%)
HSVhsv(229, 86%, 31%)
CMYKcmyk(85.9%, 70.5%, 0%, 69.4%)
CIE-LABlab(10.80, 18.21, -35.21)
CIE-LCHlch(10.80, 39.64, 297.34°)
OKLaboklab(23.82% -0.0038 -0.1019)
OKLCHoklch(23.82% 0.102 267.9)
XYZxyz(1.8191, 1.2338, 7.3485)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B174E #4E420B
analogous
#0B384E #0B174E #210B4E
triadic
#0B174E #4E0B17 #174E0B
tetradic
#0B174E #4E0B38 #4E420B #0B4E21
square
#0B174E #4E0B38 #4E420B #0B4E21
split-complementary
#0B174E #4E210B #384E0B
monochromatic
#04081B #04081B #0B174E #132784 #1A37B9

Accessibility & contrast

On white

16.84
#0B174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0B174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B174E
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B174E#FFFFFF#000000##FFFFFF
##0B174E1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0b174e;
/* rgb */ color: rgb(11, 23, 78);
/* oklch */ color: oklch(23.8% 0.102 267.9);
Tailwind
colors: {
  custom: {
    50: '#575380',
    500: '#0b174e',
    950: '#000000',
  },
}
SCSS
$custom: #0b174e;
$custom-light: #575380;
$custom-dark: #000000;
JSON
{
  "hex": "#0b174e",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 229.254,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23819,
    "c": 0.10197,
    "h": 267.9
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#0B174E
secondary
#8A792B
accent
#D036F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B174E

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

Preview Lab → · Contrast checker → · Palette generator →

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