#0D153C#0D153C

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

Color values

HEX#0D153C
RGBrgb(13, 21, 60)
HSLhsl(230, 64%, 14%)
HSVhsv(230, 78%, 24%)
CMYKcmyk(78.3%, 65%, 0%, 76.5%)
CIE-LABlab(8.55, 12.18, -26.26)
CIE-LCHlch(8.55, 28.95, 294.89°)
OKLaboklab(21.63% 0.0001 -0.0756)
OKLCHoklch(21.63% 0.076 270.1)
XYZxyz(1.2495, 0.9480, 4.3912)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D153C #3C340D
analogous
#0D2D3C #0D153C #1D0D3C
triadic
#0D153C #3C0D15 #153C0D
tetradic
#0D153C #3C0D2D #3C340D #0D3C1D
square
#0D153C #3C0D2D #3C340D #0D3C1D
split-complementary
#0D153C #3C1D0D #2D3C0D
monochromatic
#050919 #050919 #0D153C #18276E #2338A1

Accessibility & contrast

On white

17.65
#0D153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D153C
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D153C#FFFFFF#000000##FFFFFF
##0D153C1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d153c;
/* rgb */ color: rgb(13, 21, 60);
/* oklch */ color: oklch(21.6% 0.076 270.1);
Tailwind
colors: {
  custom: {
    50: '#535172',
    500: '#0d153c',
    950: '#000000',
  },
}
SCSS
$custom: #0d153c;
$custom-light: #535172;
$custom-dark: #000000;
JSON
{
  "hex": "#0d153c",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 229.787,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2163,
    "c": 0.07559,
    "h": 270.1
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#0D153C
secondary
#786B2D
accent
#CB40E7
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0D153C

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

Preview Lab → · Contrast checker → · Palette generator →

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