#0A142E#0A142E

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

Color values

HEX#0A142E
RGBrgb(10, 20, 46)
HSLhsl(223, 64%, 11%)
HSVhsv(223, 78%, 18%)
CMYKcmyk(78.3%, 56.5%, 0%, 82%)
CIE-LABlab(6.88, 5.89, -18.76)
CIE-LCHlch(6.88, 19.67, 287.43°)
OKLaboklab(19.89% -0.0039 -0.0539)
OKLCHoklch(19.89% 0.054 265.9)
XYZxyz(0.8683, 0.7620, 2.6856)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A142E #2E240A
analogous
#0A262E #0A142E #120A2E
triadic
#0A142E #2E0A14 #142E0A
tetradic
#0A142E #2E0A26 #2E240A #0A2E12
square
#0A142E #2E0A26 #2E240A #0A2E12
split-complementary
#0A142E #2E120A #262E0A
monochromatic
#050B19 #050B19 #0A142E #152A60 #204093

Accessibility & contrast

On white

18.22
#0A142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A142E
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A142E#FFFFFF#000000##FFFFFF
##0A142E1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#03142D
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a142e;
/* rgb */ color: rgb(10, 20, 46);
/* oklch */ color: oklch(19.9% 0.054 265.9);
Tailwind
colors: {
  custom: {
    50: '#4e5167',
    500: '#0a142e',
    950: '#000000',
  },
}
SCSS
$custom: #0a142e;
$custom-light: #4e5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0a142e",
  "rgb": {
    "r": 10,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 223.333,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19893,
    "c": 0.05407,
    "h": 265.9
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#0A142E
secondary
#6B5929
accent
#B941E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A142E

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

Preview Lab → · Contrast checker → · Palette generator →

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