#0B174B#0B174B

#0B174B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.097 H 267.8°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#0B174B
RGBrgb(11, 23, 75)
HSLhsl(229, 74%, 17%)
HSVhsv(229, 85%, 29%)
CMYKcmyk(85.3%, 69.3%, 0%, 70.6%)
CIE-LABlab(10.50, 16.91, -33.65)
CIE-LCHlch(10.50, 37.66, 296.68°)
OKLaboklab(23.5% -0.0037 -0.0973)
OKLCHoklch(23.5% 0.097 267.8)
XYZxyz(1.7140, 1.1917, 6.7949)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B174B #4B3F0B
analogous
#0B374B #0B174B #1F0B4B
triadic
#0B174B #4B0B17 #174B0B
tetradic
#0B174B #4B0B37 #4B3F0B #0B4B1F
square
#0B174B #4B0B37 #4B3F0B #0B4B1F
split-complementary
#0B174B #4B1F0B #374B0B
monochromatic
#04081B #04081B #0B174B #132780 #1B38B6

Accessibility & contrast

On white

16.96
#0B174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B174B
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B174B#FFFFFF#000000##FFFFFF
##0B174B1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b174b;
/* rgb */ color: rgb(11, 23, 75);
/* oklch */ color: oklch(23.5% 0.097 267.8);
Tailwind
colors: {
  custom: {
    50: '#56537e',
    500: '#0b174b',
    950: '#000000',
  },
}
SCSS
$custom: #0b174b;
$custom-light: #56537e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b174b",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 228.75,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23497,
    "c": 0.09738,
    "h": 267.8
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#0B174B
secondary
#87762B
accent
#CE37F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#03020A
muted
#78787C

Preview Lab

Preview with #0B174B

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

Preview Lab → · Contrast checker → · Palette generator →

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