#0D153E#0D153E

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

Color values

HEX#0D153E
RGBrgb(13, 21, 62)
HSLhsl(230, 65%, 15%)
HSVhsv(230, 79%, 24%)
CMYKcmyk(79%, 66.1%, 0%, 75.7%)
CIE-LABlab(8.74, 13.06, -27.39)
CIE-LCHlch(8.74, 30.34, 295.49°)
OKLaboklab(21.83% 0.0002 -0.0789)
OKLCHoklch(21.83% 0.079 270.2)
XYZxyz(1.3033, 0.9696, 4.6750)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D153E #3E360D
analogous
#0D2E3E #0D153E #1E0D3E
triadic
#0D153E #3E0D15 #153E0D
tetradic
#0D153E #3E0D2E #3E360D #0D3E1E
square
#0D153E #3E0D2E #3E360D #0D3E1E
split-complementary
#0D153E #3E1E0D #2E3E0D
monochromatic
#050919 #050919 #0D153E #182671 #2237A3

Accessibility & contrast

On white

17.59
#0D153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D153E
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D153E#FFFFFF#000000##FFFFFF
##0D153E1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d153e;
/* rgb */ color: rgb(13, 21, 62);
/* oklch */ color: oklch(21.8% 0.079 270.2);
Tailwind
colors: {
  custom: {
    50: '#535174',
    500: '#0d153e',
    950: '#000000',
  },
}
SCSS
$custom: #0d153e;
$custom-light: #535174;
$custom-dark: #000000;
JSON
{
  "hex": "#0d153e",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 230.204,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21826,
    "c": 0.07891,
    "h": 270.2
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#0D153E
secondary
#7A6D2D
accent
#CD40E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D153E

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

Preview Lab → · Contrast checker → · Palette generator →

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