#0D154E#0D154E

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

Color values

HEX#0D154E
RGBrgb(13, 21, 78)
HSLhsl(233, 71%, 18%)
HSVhsv(233, 83%, 31%)
CMYKcmyk(83.3%, 73.1%, 0%, 69.4%)
CIE-LABlab(10.35, 19.92, -35.96)
CIE-LCHlch(10.35, 41.11, 298.99°)
OKLaboklab(23.51% -0.0004 -0.104)
OKLCHoklch(23.51% 0.104 269.8)
XYZxyz(1.8088, 1.1718, 7.3371)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D154E #4E460D
analogous
#0D364E #0D154E #250D4E
triadic
#0D154E #4E0D15 #154E0D
tetradic
#0D154E #4E0D36 #4E460D #0D4E25
square
#0D154E #4E0D36 #4E460D #0D4E25
split-complementary
#0D154E #4E250D #364E0D
monochromatic
#04071A #04071A #0D154E #162382 #1E31B7

Accessibility & contrast

On white

17.01
#0D154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D154E
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D154E#FFFFFF#000000##FFFFFF
##0D154E1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d154e;
/* rgb */ color: rgb(13, 21, 78);
/* oklch */ color: oklch(23.5% 0.104 269.8);
Tailwind
colors: {
  custom: {
    50: '#585280',
    500: '#0d154e',
    950: '#000000',
  },
}
SCSS
$custom: #0d154e;
$custom-light: #585280;
$custom-dark: #000000;
JSON
{
  "hex": "#0d154e",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 232.615,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23513,
    "c": 0.10405,
    "h": 269.8
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#0D154E
secondary
#897E2E
accent
#D83AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D154E

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

Preview Lab → · Contrast checker → · Palette generator →

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