#0A152A#0A152A

#0A152A is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.8% C 0.045 H 262.2°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#0A152A
RGBrgb(10, 21, 42)
HSLhsl(219, 62%, 10%)
HSVhsv(219, 76%, 16%)
CMYKcmyk(76.2%, 50%, 0%, 83.5%)
CIE-LABlab(6.94, 3.32, -15.70)
CIE-LCHlch(6.94, 16.05, 281.95°)
OKLaboklab(19.84% -0.0062 -0.0449)
OKLCHoklch(19.84% 0.045 262.2)
XYZxyz(0.8111, 0.7680, 2.2955)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A152A #2A1F0A
analogous
#0A252A #0A152A #0F0A2A
triadic
#0A152A #2A0A15 #152A0A
tetradic
#0A152A #2A0A25 #2A1F0A #0A2A0F
square
#0A152A #2A0A25 #2A1F0A #0A2A0F
split-complementary
#0A152A #2A0F0A #252A0A
monochromatic
#060C19 #060C19 #0A152A #162E5B #22468D

Accessibility & contrast

On white

18.20
#0A152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A152A
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A152A#FFFFFF#000000##FFFFFF
##0A152A1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#08142A
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a152a;
/* rgb */ color: rgb(10, 21, 42);
/* oklch */ color: oklch(19.8% 0.045 262.2);
Tailwind
colors: {
  custom: {
    50: '#4c5263',
    500: '#0a152a',
    950: '#000000',
  },
}
SCSS
$custom: #0a152a;
$custom-light: #4c5263;
$custom-dark: #000000;
JSON
{
  "hex": "#0a152a",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 219.375,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19842,
    "c": 0.04532,
    "h": 262.2
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#0A152A
secondary
#675229
accent
#AD43E5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #0A152A

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

Preview Lab → · Contrast checker → · Palette generator →

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