#0D154A#0D154A

#0D154A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.098 H 270.0°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#0D154A
RGBrgb(13, 21, 74)
HSLhsl(232, 70%, 17%)
HSVhsv(232, 82%, 29%)
CMYKcmyk(82.4%, 71.6%, 0%, 71%)
CIE-LABlab(9.92, 18.24, -33.89)
CIE-LCHlch(9.92, 38.49, 298.29°)
OKLaboklab(23.07% -0.0001 -0.098)
OKLCHoklch(23.07% 0.098 270)
XYZxyz(1.6698, 1.1161, 6.6047)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D154A #4A420D
analogous
#0D344A #0D154A #240D4A
triadic
#0D154A #4A0D15 #154A0D
tetradic
#0D154A #4A0D34 #4A420D #0D4A24
square
#0D154A #4A0D34 #4A420D #0D4A24
split-complementary
#0D154A #4A240D #344A0D
monochromatic
#05071A #05071A #0D154A #16247E #1F33B2

Accessibility & contrast

On white

17.17
#0D154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D154A
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D154A#FFFFFF#000000##FFFFFF
##0D154A1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.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: #0d154a;
/* rgb */ color: rgb(13, 21, 74);
/* oklch */ color: oklch(23.1% 0.098 270.0);
Tailwind
colors: {
  custom: {
    50: '#57527d',
    500: '#0d154a',
    950: '#000000',
  },
}
SCSS
$custom: #0d154a;
$custom-light: #57527d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d154a",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 232.131,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23074,
    "c": 0.09798,
    "h": 270
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#0D154A
secondary
#857A2E
accent
#D63BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D154A

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

Preview Lab → · Contrast checker → · Palette generator →

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