#0A152F#0A152F

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

Color values

HEX#0A152F
RGBrgb(10, 21, 47)
HSLhsl(222, 65%, 11%)
HSVhsv(222, 79%, 18%)
CMYKcmyk(78.7%, 55.3%, 0%, 81.6%)
CIE-LABlab(7.28, 5.68, -18.87)
CIE-LCHlch(7.28, 19.71, 286.75°)
OKLaboklab(20.25% -0.005 -0.054)
OKLCHoklch(20.25% 0.054 264.8)
XYZxyz(0.9063, 0.8060, 2.7966)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A152F #2F240A
analogous
#0A272F #0A152F #110A2F
triadic
#0A152F #2F0A15 #152F0A
tetradic
#0A152F #2F0A27 #2F240A #0A2F11
square
#0A152F #2F0A27 #2F240A #0A2F11
split-complementary
#0A152F #2F110A #272F0A
monochromatic
#050B19 #050B19 #0A152F #152C61 #1F4294

Accessibility & contrast

On white

18.08
#0A152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A152F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A152F#FFFFFF#000000##FFFFFF
##0A152F1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#04142E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a152f;
/* rgb */ color: rgb(10, 21, 47);
/* oklch */ color: oklch(20.2% 0.054 264.8);
Tailwind
colors: {
  custom: {
    50: '#4e5167',
    500: '#0a152f',
    950: '#000000',
  },
}
SCSS
$custom: #0a152f;
$custom-light: #4e5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0a152f",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 222.162,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20249,
    "c": 0.05428,
    "h": 264.8
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#0A152F
secondary
#6C5829
accent
#B640E8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A152F

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

Preview Lab → · Contrast checker → · Palette generator →

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