#0A022B#0A022B

#0A022B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.1% C 0.080 H 283.1°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#0A022B
RGBrgb(10, 2, 43)
HSLhsl(252, 91%, 9%)
HSVhsv(252, 95%, 17%)
CMYKcmyk(76.7%, 95.3%, 0%, 83.1%)
CIE-LABlab(2.55, 12.88, -23.37)
CIE-LCHlch(2.55, 26.69, 298.86°)
OKLaboklab(15.09% 0.0182 -0.0781)
OKLCHoklch(15.09% 0.08 283.1)
XYZxyz(0.5828, 0.2823, 2.3088)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A022B #232B02
analogous
#020F2B #0A022B #1F022B
triadic
#0A022B #2B0A02 #022B0A
tetradic
#0A022B #2B020F #232B02 #022B1F
square
#0A022B #2B020F #232B02 #022B1F
split-complementary
#0A022B #2B1F02 #0F2B02
monochromatic
#07011D #07011D #0A022B #180565 #2507A0

Accessibility & contrast

On white

19.88
#0A022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0A022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A022B
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A022B#FFFFFF#000000##FFFFFF
##0A022B1.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2C
Deuteranopia (green-blind)
#00082A
Tritanopia (blue-blind)
#000D16
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0a022b;
/* rgb */ color: rgb(10, 2, 43);
/* oklch */ color: oklch(15.1% 0.080 283.1);
Tailwind
colors: {
  custom: {
    50: '#4c4764',
    500: '#0a022b',
    950: '#000000',
  },
}
SCSS
$custom: #0a022b;
$custom-light: #4c4764;
$custom-dark: #000000;
JSON
{
  "hex": "#0a022b",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 251.707,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.15091,
    "c": 0.08021,
    "h": 283.1
  },
  "luminance": 0.00282
}

Semantic roles & 50–950 ramp

primary
#0A022B
secondary
#5F7019
accent
#FF29D5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A022B

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

Preview Lab → · Contrast checker → · Palette generator →

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