#0A142F#0A142F

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

Color values

HEX#0A142F
RGBrgb(10, 20, 47)
HSLhsl(224, 65%, 11%)
HSVhsv(224, 79%, 18%)
CMYKcmyk(78.7%, 57.4%, 0%, 81.6%)
CIE-LABlab(6.96, 6.37, -19.39)
CIE-LCHlch(6.96, 20.41, 288.19°)
OKLaboklab(19.98% -0.0037 -0.0557)
OKLCHoklch(19.98% 0.056 266.2)
XYZxyz(0.8882, 0.7700, 2.7906)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A142F #2F250A
analogous
#0A262F #0A142F #120A2F
triadic
#0A142F #2F0A14 #142F0A
tetradic
#0A142F #2F0A26 #2F250A #0A2F12
square
#0A142F #2F0A26 #2F250A #0A2F12
split-complementary
#0A142F #2F120A #262F0A
monochromatic
#050B19 #050B19 #0A142F #152961 #1F3F94

Accessibility & contrast

On white

18.20
#0A142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A142F
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A142F#FFFFFF#000000##FFFFFF
##0A142F1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071730
Deuteranopia (green-blind)
#02142E
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a142f;
/* rgb */ color: rgb(10, 20, 47);
/* oklch */ color: oklch(20.0% 0.056 266.2);
Tailwind
colors: {
  custom: {
    50: '#4e5167',
    500: '#0a142f',
    950: '#000000',
  },
}
SCSS
$custom: #0a142f;
$custom-light: #4e5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0a142f",
  "rgb": {
    "r": 10,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 223.784,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19979,
    "c": 0.05585,
    "h": 266.2
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#0A142F
secondary
#6C5A29
accent
#BA40E8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A142F

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

Preview Lab → · Contrast checker → · Palette generator →

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