#0A152C#0A152C

#0A152C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.0% C 0.049 H 263.4°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#0A152C
RGBrgb(10, 21, 44)
HSLhsl(221, 63%, 11%)
HSVhsv(221, 77%, 17%)
CMYKcmyk(77.3%, 52.3%, 0%, 82.7%)
CIE-LABlab(7.07, 4.26, -16.99)
CIE-LCHlch(7.07, 17.51, 284.07°)
OKLaboklab(20% -0.0056 -0.0486)
OKLCHoklch(20% 0.049 263.4)
XYZxyz(0.8478, 0.7826, 2.4888)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A152C #2C210A
analogous
#0A262C #0A152C #100A2C
triadic
#0A152C #2C0A15 #152C0A
tetradic
#0A152C #2C0A26 #2C210A #0A2C10
square
#0A152C #2C0A26 #2C210A #0A2C10
split-complementary
#0A152C #2C100A #262C0A
monochromatic
#060C19 #060C19 #0A152C #152D5E #214590

Accessibility & contrast

On white

18.16
#0A152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A152C
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A152C#FFFFFF#000000##FFFFFF
##0A152C1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a152c;
/* rgb */ color: rgb(10, 21, 44);
/* oklch */ color: oklch(20.0% 0.049 263.4);
Tailwind
colors: {
  custom: {
    50: '#4d5165',
    500: '#0a152c',
    950: '#000000',
  },
}
SCSS
$custom: #0a152c;
$custom-light: #4d5165;
$custom-dark: #000000;
JSON
{
  "hex": "#0a152c",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 220.588,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20001,
    "c": 0.04893,
    "h": 263.4
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#0A152C
secondary
#695429
accent
#B142E6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0A152C

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

Preview Lab → · Contrast checker → · Palette generator →

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