#0D153F#0D153F

#0D153F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.081 H 270.2°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0D153F
RGBrgb(13, 21, 63)
HSLhsl(230, 66%, 15%)
HSVhsv(230, 79%, 25%)
CMYKcmyk(79.4%, 66.7%, 0%, 75.3%)
CIE-LABlab(8.83, 13.50, -27.95)
CIE-LCHlch(8.83, 31.03, 295.78°)
OKLaboklab(21.93% 0.0002 -0.0805)
OKLCHoklch(21.93% 0.081 270.2)
XYZxyz(1.3310, 0.9806, 4.8208)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D153F #3F370D
analogous
#0D2E3F #0D153F #1E0D3F
triadic
#0D153F #3F0D15 #153F0D
tetradic
#0D153F #3F0D2E #3F370D #0D3F1E
square
#0D153F #3F0D2E #3F370D #0D3F1E
split-complementary
#0D153F #3F1E0D #2E3F0D
monochromatic
#050819 #050819 #0D153F #172672 #2237A4

Accessibility & contrast

On white

17.56
#0D153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D153F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D153F#FFFFFF#000000##FFFFFF
##0D153F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d153f;
/* rgb */ color: rgb(13, 21, 63);
/* oklch */ color: oklch(21.9% 0.081 270.2);
Tailwind
colors: {
  custom: {
    50: '#545174',
    500: '#0d153f',
    950: '#000000',
  },
}
SCSS
$custom: #0d153f;
$custom-light: #545174;
$custom-dark: #000000;
JSON
{
  "hex": "#0d153f",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 230.4,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21926,
    "c": 0.08055,
    "h": 270.2
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#0D153F
secondary
#7B6E2D
accent
#CE3FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D153F

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

Preview Lab → · Contrast checker → · Palette generator →

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