#0A152D#0A152D

#0A152D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.051 H 263.9°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0A152D
RGBrgb(10, 21, 45)
HSLhsl(221, 64%, 11%)
HSVhsv(221, 78%, 18%)
CMYKcmyk(77.8%, 53.3%, 0%, 82.4%)
CIE-LABlab(7.14, 4.73, -17.62)
CIE-LCHlch(7.14, 18.24, 285.03°)
OKLaboklab(20.08% -0.0054 -0.0504)
OKLCHoklch(20.08% 0.051 263.9)
XYZxyz(0.8668, 0.7902, 2.5890)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A152D #2D220A
analogous
#0A262D #0A152D #100A2D
triadic
#0A152D #2D0A15 #152D0A
tetradic
#0A152D #2D0A26 #2D220A #0A2D10
square
#0A152D #2D0A26 #2D220A #0A2D10
split-complementary
#0A152D #2D100A #262D0A
monochromatic
#060C19 #060C19 #0A152D #152C5F #204491

Accessibility & contrast

On white

18.13
#0A152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0A152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A152D
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A152D#FFFFFF#000000##FFFFFF
##0A152D1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172E
Deuteranopia (green-blind)
#05142C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a152d;
/* rgb */ color: rgb(10, 21, 45);
/* oklch */ color: oklch(20.1% 0.051 263.9);
Tailwind
colors: {
  custom: {
    50: '#4d5166',
    500: '#0a152d',
    950: '#000000',
  },
}
SCSS
$custom: #0a152d;
$custom-light: #4d5166;
$custom-dark: #000000;
JSON
{
  "hex": "#0a152d",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 221.143,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20082,
    "c": 0.05072,
    "h": 263.9
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#0A152D
secondary
#6A5629
accent
#B341E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #0A152D

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

Preview Lab → · Contrast checker → · Palette generator →

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