#010731#010731

#010731 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.084 H 264.9°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#010731
RGBrgb(1, 7, 49)
HSLhsl(233, 96%, 10%)
HSVhsv(233, 98%, 19%)
CMYKcmyk(98%, 85.7%, 0%, 80.8%)
CIE-LABlab(3.43, 11.53, -26.53)
CIE-LCHlch(3.43, 28.92, 293.49°)
OKLaboklab(16.27% -0.0074 -0.0836)
OKLCHoklch(16.27% 0.084 264.9)
XYZxyz(0.6427, 0.3801, 2.9446)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010731 #312B01
analogous
#011F31 #010731 #130131
triadic
#010731 #310107 #073101
tetradic
#010731 #31011F #312B01 #013113
square
#010731 #31011F #312B01 #013113
split-complementary
#010731 #311301 #1F3101
monochromatic
#01041E #01041E #010731 #02106D #0318A9

Accessibility & contrast

On white

19.52
#010731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#010731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010731
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010731#FFFFFF#000000##FFFFFF
##0107311.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #010731;
/* rgb */ color: rgb(1, 7, 49);
/* oklch */ color: oklch(16.3% 0.084 264.9);
Tailwind
colors: {
  custom: {
    50: '#494969',
    500: '#010731',
    950: '#000000',
  },
}
SCSS
$custom: #010731;
$custom-light: #494969;
$custom-dark: #000000;
JSON
{
  "hex": "#010731",
  "rgb": {
    "r": 1,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 232.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16267,
    "c": 0.08395,
    "h": 264.9
  },
  "luminance": 0.0038
}

Semantic roles & 50–950 ramp

primary
#010731
secondary
#776B17
accent
#E429FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #010731

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

Preview Lab → · Contrast checker → · Palette generator →

#010731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva