#0A142C#0A142C

#0A142C is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.7% C 0.050 H 265.1°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#0A142C
RGBrgb(10, 20, 44)
HSLhsl(222, 63%, 11%)
HSVhsv(222, 77%, 17%)
CMYKcmyk(77.3%, 54.5%, 0%, 82.7%)
CIE-LABlab(6.74, 4.92, -17.50)
CIE-LCHlch(6.74, 18.18, 285.71°)
OKLaboklab(19.72% -0.0043 -0.0503)
OKLCHoklch(19.72% 0.05 265.1)
XYZxyz(0.8298, 0.7466, 2.4828)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A142C #2C220A
analogous
#0A252C #0A142C #110A2C
triadic
#0A142C #2C0A14 #142C0A
tetradic
#0A142C #2C0A25 #2C220A #0A2C11
square
#0A142C #2C0A25 #2C220A #0A2C11
split-complementary
#0A142C #2C110A #252C0A
monochromatic
#060B19 #060B19 #0A142C #152B5E #214190

Accessibility & contrast

On white

18.27
#0A142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A142C
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A142C#FFFFFF#000000##FFFFFF
##0A142C1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172D
Deuteranopia (green-blind)
#05132B
Tritanopia (blue-blind)
#00191D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a142c;
/* rgb */ color: rgb(10, 20, 44);
/* oklch */ color: oklch(19.7% 0.050 265.1);
Tailwind
colors: {
  custom: {
    50: '#4d5165',
    500: '#0a142c',
    950: '#000000',
  },
}
SCSS
$custom: #0a142c;
$custom-light: #4d5165;
$custom-dark: #000000;
JSON
{
  "hex": "#0a142c",
  "rgb": {
    "r": 10,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 222.353,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19724,
    "c": 0.05049,
    "h": 265.1
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#0A142C
secondary
#695629
accent
#B642E6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0A142C

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

Preview Lab → · Contrast checker → · Palette generator →

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