#0B154A#0B154A

#0B154A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.099 H 268.7°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#0B154A
RGBrgb(11, 21, 74)
HSLhsl(230, 74%, 17%)
HSVhsv(230, 85%, 29%)
CMYKcmyk(85.1%, 71.6%, 0%, 71%)
CIE-LABlab(9.81, 17.99, -34.08)
CIE-LCHlch(9.81, 38.53, 297.84°)
OKLaboklab(22.96% -0.0023 -0.0986)
OKLCHoklch(22.96% 0.099 268.7)
XYZxyz(1.6418, 1.1017, 6.6034)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B154A #4A400B
analogous
#0B354A #0B154A #210B4A
triadic
#0B154A #4A0B15 #154A0B
tetradic
#0B154A #4A0B35 #4A400B #0B4A21
square
#0B154A #4A0B35 #4A400B #0B4A21
split-complementary
#0B154A #4A210B #354A0B
monochromatic
#04081B #04081B #0B154A #13247F #1B33B5

Accessibility & contrast

On white

17.21
#0B154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0B154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B154A
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B154A#FFFFFF#000000##FFFFFF
##0B154A1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b154a;
/* rgb */ color: rgb(11, 21, 74);
/* oklch */ color: oklch(23.0% 0.099 268.7);
Tailwind
colors: {
  custom: {
    50: '#56527d',
    500: '#0b154a',
    950: '#000000',
  },
}
SCSS
$custom: #0b154a;
$custom-light: #56527d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b154a",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 230.476,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22961,
    "c": 0.09861,
    "h": 268.7
  },
  "luminance": 0.01102
}

Semantic roles & 50–950 ramp

primary
#0B154A
secondary
#86782B
accent
#D337F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#03020A
muted
#78787C

Preview Lab

Preview with #0B154A

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

Preview Lab → · Contrast checker → · Palette generator →

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