#010A31#010A31

#010A31 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.079 H 263.8°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#010A31
RGBrgb(1, 10, 49)
HSLhsl(229, 96%, 10%)
HSVhsv(229, 98%, 19%)
CMYKcmyk(98%, 79.6%, 0%, 80.8%)
CIE-LABlab(4.02, 10.32, -25.59)
CIE-LCHlch(4.02, 27.59, 291.98°)
OKLaboklab(16.98% -0.0086 -0.0789)
OKLCHoklch(16.98% 0.079 263.8)
XYZxyz(0.6752, 0.4452, 2.9555)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010A31 #312801
analogous
#012231 #010A31 #100131
triadic
#010A31 #31010A #0A3101
tetradic
#010A31 #310122 #312801 #013110
square
#010A31 #310122 #312801 #013110
split-complementary
#010A31 #311001 #223101
monochromatic
#01061E #01061E #010A31 #02166D #0322A9

Accessibility & contrast

On white

19.28
#010A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#010A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010A31
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010A31#FFFFFF#000000##FFFFFF
##010A311.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #010a31;
/* rgb */ color: rgb(1, 10, 49);
/* oklch */ color: oklch(17.0% 0.079 263.8);
Tailwind
colors: {
  custom: {
    50: '#494b69',
    500: '#010a31',
    950: '#000000',
  },
}
SCSS
$custom: #010a31;
$custom-light: #494b69;
$custom-dark: #000000;
JSON
{
  "hex": "#010a31",
  "rgb": {
    "r": 1,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 228.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16981,
    "c": 0.07937,
    "h": 263.8
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#010A31
secondary
#776517
accent
#D729FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #010A31

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

Preview Lab → · Contrast checker → · Palette generator →

#010A31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva