#0D153B#0D153B

#0D153B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.074 H 270.1°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0D153B
RGBrgb(13, 21, 59)
HSLhsl(230, 64%, 14%)
HSVhsv(230, 78%, 23%)
CMYKcmyk(78%, 64.4%, 0%, 76.9%)
CIE-LABlab(8.46, 11.75, -25.69)
CIE-LCHlch(8.46, 28.25, 294.57°)
OKLaboklab(21.53% 0.0001 -0.0739)
OKLCHoklch(21.53% 0.074 270.1)
XYZxyz(1.2233, 0.9375, 4.2533)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D153B #3B330D
analogous
#0D2C3B #0D153B #1C0D3B
triadic
#0D153B #3B0D15 #153B0D
tetradic
#0D153B #3B0D2C #3B330D #0D3B1C
square
#0D153B #3B0D2C #3B330D #0D3B1C
split-complementary
#0D153B #3B1C0D #2C3B0D
monochromatic
#060919 #060919 #0D153B #18276D #23399F

Accessibility & contrast

On white

17.68
#0D153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D153B
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D153B#FFFFFF#000000##FFFFFF
##0D153B1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d153b;
/* rgb */ color: rgb(13, 21, 59);
/* oklch */ color: oklch(21.5% 0.074 270.1);
Tailwind
colors: {
  custom: {
    50: '#535171',
    500: '#0d153b',
    950: '#000000',
  },
}
SCSS
$custom: #0d153b;
$custom-light: #535171;
$custom-dark: #000000;
JSON
{
  "hex": "#0d153b",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 229.565,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21534,
    "c": 0.07392,
    "h": 270.1
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#0D153B
secondary
#776A2D
accent
#CA41E7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0D153B

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

Preview Lab → · Contrast checker → · Palette generator →

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