#0A152E#0A152E

#0A152E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.053 H 264.3°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#0A152E
RGBrgb(10, 21, 46)
HSLhsl(222, 64%, 11%)
HSVhsv(222, 78%, 18%)
CMYKcmyk(78.3%, 54.3%, 0%, 82%)
CIE-LABlab(7.21, 5.21, -18.25)
CIE-LCHlch(7.21, 18.97, 285.92°)
OKLaboklab(20.17% -0.0052 -0.0522)
OKLCHoklch(20.17% 0.053 264.3)
XYZxyz(0.8863, 0.7980, 2.6916)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A152E #2E230A
analogous
#0A272E #0A152E #110A2E
triadic
#0A152E #2E0A15 #152E0A
tetradic
#0A152E #2E0A27 #2E230A #0A2E11
square
#0A152E #2E0A27 #2E230A #0A2E11
split-complementary
#0A152E #2E110A #272E0A
monochromatic
#050B19 #050B19 #0A152E #152C60 #204393

Accessibility & contrast

On white

18.11
#0A152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A152E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A152E#FFFFFF#000000##FFFFFF
##0A152E1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a152e;
/* rgb */ color: rgb(10, 21, 46);
/* oklch */ color: oklch(20.2% 0.053 264.3);
Tailwind
colors: {
  custom: {
    50: '#4e5167',
    500: '#0a152e',
    950: '#000000',
  },
}
SCSS
$custom: #0a152e;
$custom-light: #4e5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0a152e",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 221.667,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20165,
    "c": 0.05251,
    "h": 264.3
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#0A152E
secondary
#6B5729
accent
#B441E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A152E

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

Preview Lab → · Contrast checker → · Palette generator →

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