#0A122E#0A122E

#0A122E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.4% C 0.057 H 268.6°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#0A122E
RGBrgb(10, 18, 46)
HSLhsl(227, 64%, 11%)
HSVhsv(227, 78%, 18%)
CMYKcmyk(78.3%, 60.9%, 0%, 82%)
CIE-LABlab(6.27, 7.15, -19.74)
CIE-LCHlch(6.27, 20.99, 289.92°)
OKLaboklab(19.36% -0.0014 -0.0573)
OKLCHoklch(19.36% 0.057 268.6)
XYZxyz(0.8345, 0.6943, 2.6743)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A122E #2E260A
analogous
#0A242E #0A122E #140A2E
triadic
#0A122E #2E0A12 #122E0A
tetradic
#0A122E #2E0A24 #2E260A #0A2E14
square
#0A122E #2E0A24 #2E260A #0A2E14
split-complementary
#0A122E #2E140A #242E0A
monochromatic
#050A19 #050A19 #0A122E #152660 #203993

Accessibility & contrast

On white

18.44
#0A122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0A122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A122E
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A122E#FFFFFF#000000##FFFFFF
##0A122E1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04162F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a122e;
/* rgb */ color: rgb(10, 18, 46);
/* oklch */ color: oklch(19.4% 0.057 268.6);
Tailwind
colors: {
  custom: {
    50: '#4d4f67',
    500: '#0a122e',
    950: '#000000',
  },
}
SCSS
$custom: #0a122e;
$custom-light: #4d4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0a122e",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 226.667,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19362,
    "c": 0.05728,
    "h": 268.6
  },
  "luminance": 0.00694
}

Semantic roles & 50–950 ramp

primary
#0A122E
secondary
#6B5C29
accent
#C241E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A122E

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

Preview Lab → · Contrast checker → · Palette generator →

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