#0A142D#0A142D

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

Color values

HEX#0A142D
RGBrgb(10, 20, 45)
HSLhsl(223, 64%, 11%)
HSVhsv(223, 78%, 18%)
CMYKcmyk(77.8%, 55.6%, 0%, 82.4%)
CIE-LABlab(6.81, 5.40, -18.13)
CIE-LCHlch(6.81, 18.92, 286.60°)
OKLaboklab(19.81% -0.0041 -0.0521)
OKLCHoklch(19.81% 0.052 265.5)
XYZxyz(0.8488, 0.7542, 2.5830)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A142D #2D230A
analogous
#0A252D #0A142D #110A2D
triadic
#0A142D #2D0A14 #142D0A
tetradic
#0A142D #2D0A25 #2D230A #0A2D11
square
#0A142D #2D0A25 #2D230A #0A2D11
split-complementary
#0A142D #2D110A #252D0A
monochromatic
#060B19 #060B19 #0A142D #152A5F #204191

Accessibility & contrast

On white

18.25
#0A142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A142D
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A142D#FFFFFF#000000##FFFFFF
##0A142D1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#04142C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a142d;
/* rgb */ color: rgb(10, 20, 45);
/* oklch */ color: oklch(19.8% 0.052 265.5);
Tailwind
colors: {
  custom: {
    50: '#4d5166',
    500: '#0a142d',
    950: '#000000',
  },
}
SCSS
$custom: #0a142d;
$custom-light: #4d5166;
$custom-dark: #000000;
JSON
{
  "hex": "#0a142d",
  "rgb": {
    "r": 10,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 222.857,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19808,
    "c": 0.05228,
    "h": 265.5
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#0A142D
secondary
#6A5729
accent
#B741E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #0A142D

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

Preview Lab → · Contrast checker → · Palette generator →

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