#010F31#010F31

#010F31 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.072 H 261.0°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#010F31
RGBrgb(1, 15, 49)
HSLhsl(223, 96%, 10%)
HSVhsv(223, 98%, 19%)
CMYKcmyk(98%, 69.4%, 0%, 80.8%)
CIE-LABlab(5.15, 8.03, -23.79)
CIE-LCHlch(5.15, 25.10, 288.64°)
OKLaboklab(18.2% -0.0113 -0.071)
OKLCHoklch(18.2% 0.072 261)
XYZxyz(0.7375, 0.5698, 2.9762)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010F31 #312301
analogous
#012731 #010F31 #0B0131
triadic
#010F31 #31010F #0F3101
tetradic
#010F31 #310127 #312301 #01310B
square
#010F31 #310127 #312301 #01310B
split-complementary
#010F31 #310B01 #273101
monochromatic
#01091E #01091E #010F31 #02216D #0334A9

Accessibility & contrast

On white

18.85
#010F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#010F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010F31
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010F31#FFFFFF#000000##FFFFFF
##010F311.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#00181E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #010f31;
/* rgb */ color: rgb(1, 15, 49);
/* oklch */ color: oklch(18.2% 0.072 261.0);
Tailwind
colors: {
  custom: {
    50: '#4a4d69',
    500: '#010f31',
    950: '#000000',
  },
}
SCSS
$custom: #010f31;
$custom-light: #4a4d69;
$custom-dark: #000000;
JSON
{
  "hex": "#010f31",
  "rgb": {
    "r": 1,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 222.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18199,
    "c": 0.07187,
    "h": 261
  },
  "luminance": 0.0057
}

Semantic roles & 50–950 ramp

primary
#010F31
secondary
#775B17
accent
#C129FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #010F31

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

Preview Lab → · Contrast checker → · Palette generator →

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