#0A0331#0A0331

#0A0331 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.087 H 279.5°. Best body text is #FFFFFF at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#0A0331
RGBrgb(10, 3, 49)
HSLhsl(249, 88%, 10%)
HSVhsv(249, 94%, 19%)
CMYKcmyk(79.6%, 93.9%, 0%, 80.8%)
CIE-LABlab(3.17, 15.48, -26.91)
CIE-LCHlch(3.17, 31.05, 299.91°)
OKLaboklab(16.19% 0.0144 -0.0854)
OKLCHoklch(16.19% 0.087 279.5)
XYZxyz(0.7119, 0.3513, 2.9354)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0331 #2A3103
analogous
#031331 #0A0331 #210331
triadic
#0A0331 #310A03 #03310A
tetradic
#0A0331 #310313 #2A3103 #033121
square
#0A0331 #310313 #2A3103 #033121
split-complementary
#0A0331 #312103 #133103
monochromatic
#06021D #06021D #0A0331 #16076B #220AA4

Accessibility & contrast

On white

19.62
#0A0331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0A0331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0331
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0331#FFFFFF#000000##FFFFFF
##0A03311.0019.621.0719.62
#FFFFFF19.621.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0a0331;
/* rgb */ color: rgb(10, 3, 49);
/* oklch */ color: oklch(16.2% 0.087 279.5);
Tailwind
colors: {
  custom: {
    50: '#4e4769',
    500: '#0a0331',
    950: '#000000',
  },
}
SCSS
$custom: #0a0331;
$custom-light: #4e4769;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0331",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 249.13,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16191,
    "c": 0.08656,
    "h": 279.5
  },
  "luminance": 0.00351
}

Semantic roles & 50–950 ramp

primary
#0A0331
secondary
#67741B
accent
#FF29DE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A0331

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

Preview Lab → · Contrast checker → · Palette generator →

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