#0D154C#0D154C

#0D154C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.101 H 269.9°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#0D154C
RGBrgb(13, 21, 76)
HSLhsl(232, 71%, 17%)
HSVhsv(232, 83%, 30%)
CMYKcmyk(82.9%, 72.4%, 0%, 70.2%)
CIE-LABlab(10.13, 19.09, -34.93)
CIE-LCHlch(10.13, 39.80, 298.65°)
OKLaboklab(23.29% -0.0002 -0.101)
OKLCHoklch(23.29% 0.101 269.9)
XYZxyz(1.7382, 1.1435, 6.9652)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D154C #4C440D
analogous
#0D354C #0D154C #250D4C
triadic
#0D154C #4C0D15 #154C0D
tetradic
#0D154C #4C0D35 #4C440D #0D4C25
square
#0D154C #4C0D35 #4C440D #0D4C25
split-complementary
#0D154C #4C250D #354C0D
monochromatic
#04071A #04071A #0D154C #162380 #1F32B5

Accessibility & contrast

On white

17.09
#0D154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D154C
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D154C#FFFFFF#000000##FFFFFF
##0D154C1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d154c;
/* rgb */ color: rgb(13, 21, 76);
/* oklch */ color: oklch(23.3% 0.101 269.9);
Tailwind
colors: {
  custom: {
    50: '#58527f',
    500: '#0d154c',
    950: '#000000',
  },
}
SCSS
$custom: #0d154c;
$custom-light: #58527f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d154c",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 232.381,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23292,
    "c": 0.10103,
    "h": 269.9
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#0D154C
secondary
#877C2E
accent
#D73AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D154C

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

Preview Lab → · Contrast checker → · Palette generator →

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