#010831#010831

#010831 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.082 H 264.6°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#010831
RGBrgb(1, 8, 49)
HSLhsl(231, 96%, 10%)
HSVhsv(231, 98%, 19%)
CMYKcmyk(98%, 83.7%, 0%, 80.8%)
CIE-LABlab(3.63, 11.13, -26.21)
CIE-LCHlch(3.63, 28.48, 293.00°)
OKLaboklab(16.51% -0.0078 -0.082)
OKLCHoklch(16.51% 0.082 264.6)
XYZxyz(0.6535, 0.4018, 2.9482)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010831 #312A01
analogous
#012031 #010831 #120131
triadic
#010831 #310108 #083101
tetradic
#010831 #310120 #312A01 #013112
square
#010831 #310120 #312A01 #013112
split-complementary
#010831 #311201 #203101
monochromatic
#01051E #01051E #010831 #02126D #031CA9

Accessibility & contrast

On white

19.44
#010831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010831
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010831#FFFFFF#000000##FFFFFF
##0108311.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #010831;
/* rgb */ color: rgb(1, 8, 49);
/* oklch */ color: oklch(16.5% 0.082 264.6);
Tailwind
colors: {
  custom: {
    50: '#494a69',
    500: '#010831',
    950: '#000000',
  },
}
SCSS
$custom: #010831;
$custom-light: #494a69;
$custom-dark: #000000;
JSON
{
  "hex": "#010831",
  "rgb": {
    "r": 1,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 231.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16512,
    "c": 0.08237,
    "h": 264.6
  },
  "luminance": 0.00402
}

Semantic roles & 50–950 ramp

primary
#010831
secondary
#776917
accent
#E029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #010831

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

Preview Lab → · Contrast checker → · Palette generator →

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