#0D154F#0D154F

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

Color values

HEX#0D154F
RGBrgb(13, 21, 79)
HSLhsl(233, 72%, 18%)
HSVhsv(233, 84%, 31%)
CMYKcmyk(83.5%, 73.4%, 0%, 69%)
CIE-LABlab(10.46, 20.34, -36.47)
CIE-LCHlch(10.46, 41.76, 299.15°)
OKLaboklab(23.63% -0.0004 -0.1055)
OKLCHoklch(23.63% 0.106 269.8)
XYZxyz(1.8449, 1.1862, 7.5273)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D154F #4F470D
analogous
#0D364F #0D154F #260D4F
triadic
#0D154F #4F0D15 #154F0D
tetradic
#0D154F #4F0D36 #4F470D #0D4F26
square
#0D154F #4F0D36 #4F470D #0D4F26
split-complementary
#0D154F #4F260D #364F0D
monochromatic
#04071A #04071A #0D154F #162384 #1E31B8

Accessibility & contrast

On white

16.97
#0D154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D154F
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D154F#FFFFFF#000000##FFFFFF
##0D154F1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#00194E
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d154f;
/* rgb */ color: rgb(13, 21, 79);
/* oklch */ color: oklch(23.6% 0.106 269.8);
Tailwind
colors: {
  custom: {
    50: '#595281',
    500: '#0d154f',
    950: '#000000',
  },
}
SCSS
$custom: #0d154f;
$custom-light: #595281;
$custom-dark: #000000;
JSON
{
  "hex": "#0d154f",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 232.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23625,
    "c": 0.10554,
    "h": 269.8
  },
  "luminance": 0.01186
}

Semantic roles & 50–950 ramp

primary
#0D154F
secondary
#8A7F2E
accent
#D939EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D154F

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

Preview Lab → · Contrast checker → · Palette generator →

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