#0A0731#0A0731

#0A0731 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.080 H 277.4°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#0A0731
RGBrgb(10, 7, 49)
HSLhsl(244, 75%, 11%)
HSVhsv(244, 86%, 19%)
CMYKcmyk(79.6%, 85.7%, 0%, 80.8%)
CIE-LABlab(3.96, 13.88, -25.66)
CIE-LCHlch(3.96, 29.17, 298.42°)
OKLaboklab(17.14% 0.0102 -0.079)
OKLCHoklch(17.14% 0.08 277.4)
XYZxyz(0.7554, 0.4382, 2.9499)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0731 #2E3107
analogous
#071931 #0A0731 #1F0731
triadic
#0A0731 #310A07 #07310A
tetradic
#0A0731 #310719 #2E3107 #07311F
square
#0A0731 #310719 #2E3107 #07311F
split-complementary
#0A0731 #311F07 #193107
monochromatic
#05041B #05041B #0A0731 #150F67 #20169C

Accessibility & contrast

On white

19.31
#0A0731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0A0731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0731
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0731#FFFFFF#000000##FFFFFF
##0A07311.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#00121B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0a0731;
/* rgb */ color: rgb(10, 7, 49);
/* oklch */ color: oklch(17.1% 0.080 277.4);
Tailwind
colors: {
  custom: {
    50: '#4e4969',
    500: '#0a0731',
    950: '#000000',
  },
}
SCSS
$custom: #0a0731;
$custom-light: #4e4969;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0731",
  "rgb": {
    "r": 10,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 244.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17135,
    "c": 0.07962,
    "h": 277.4
  },
  "luminance": 0.00438
}

Semantic roles & 50–950 ramp

primary
#0A0731
secondary
#6B7123
accent
#F236E4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A0731

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

Preview Lab → · Contrast checker → · Palette generator →

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