#0D153D#0D153D

#0D153D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.077 H 270.1°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#0D153D
RGBrgb(13, 21, 61)
HSLhsl(230, 65%, 15%)
HSVhsv(230, 79%, 24%)
CMYKcmyk(78.7%, 65.6%, 0%, 76.1%)
CIE-LABlab(8.64, 12.62, -26.82)
CIE-LCHlch(8.64, 29.64, 295.20°)
OKLaboklab(21.73% 0.0002 -0.0773)
OKLCHoklch(21.73% 0.077 270.1)
XYZxyz(1.2762, 0.9587, 4.5318)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D153D #3D350D
analogous
#0D2D3D #0D153D #1D0D3D
triadic
#0D153D #3D0D15 #153D0D
tetradic
#0D153D #3D0D2D #3D350D #0D3D1D
square
#0D153D #3D0D2D #3D350D #0D3D1D
split-complementary
#0D153D #3D1D0D #2D3D0D
monochromatic
#050919 #050919 #0D153D #18266F #2338A2

Accessibility & contrast

On white

17.62
#0D153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D153D
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D153D#FFFFFF#000000##FFFFFF
##0D153D1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#001F26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d153d;
/* rgb */ color: rgb(13, 21, 61);
/* oklch */ color: oklch(21.7% 0.077 270.1);
Tailwind
colors: {
  custom: {
    50: '#535173',
    500: '#0d153d',
    950: '#000000',
  },
}
SCSS
$custom: #0d153d;
$custom-light: #535173;
$custom-dark: #000000;
JSON
{
  "hex": "#0d153d",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 230,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21728,
    "c": 0.07726,
    "h": 270.1
  },
  "luminance": 0.00959
}

Semantic roles & 50–950 ramp

primary
#0D153D
secondary
#796C2D
accent
#CC40E8
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D153D

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

Preview Lab → · Contrast checker → · Palette generator →

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