#0A152B#0A152B

#0A152B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.9% C 0.047 H 262.8°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#0A152B
RGBrgb(10, 21, 43)
HSLhsl(220, 62%, 10%)
HSVhsv(220, 77%, 17%)
CMYKcmyk(76.7%, 51.2%, 0%, 83.1%)
CIE-LABlab(7.00, 3.78, -16.35)
CIE-LCHlch(7.00, 16.78, 283.04°)
OKLaboklab(19.92% -0.0059 -0.0468)
OKLCHoklch(19.92% 0.047 262.8)
XYZxyz(0.8292, 0.7752, 2.3910)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A152B #2B200A
analogous
#0A252B #0A152B #0F0A2B
triadic
#0A152B #2B0A15 #152B0A
tetradic
#0A152B #2B0A25 #2B200A #0A2B0F
square
#0A152B #2B0A25 #2B200A #0A2B0F
split-complementary
#0A152B #2B0F0A #252B0A
monochromatic
#060C19 #060C19 #0A152B #162D5D #21458E

Accessibility & contrast

On white

18.18
#0A152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A152B
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A152B#FFFFFF#000000##FFFFFF
##0A152B1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#07142B
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a152b;
/* rgb */ color: rgb(10, 21, 43);
/* oklch */ color: oklch(19.9% 0.047 262.8);
Tailwind
colors: {
  custom: {
    50: '#4d5264',
    500: '#0a152b',
    950: '#000000',
  },
}
SCSS
$custom: #0a152b;
$custom-light: #4d5264;
$custom-dark: #000000;
JSON
{
  "hex": "#0a152b",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 220,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1992,
    "c": 0.04713,
    "h": 262.8
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#0A152B
secondary
#685329
accent
#AF42E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0A152B

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

Preview Lab → · Contrast checker → · Palette generator →

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