#010231#010231

#010231 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.093 H 266.1°. Best body text is #FFFFFF at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#010231
RGBrgb(1, 2, 49)
HSLhsl(239, 96%, 10%)
HSVhsv(239, 98%, 19%)
CMYKcmyk(98%, 95.9%, 0%, 80.8%)
CIE-LABlab(2.45, 13.53, -28.09)
CIE-LCHlch(2.45, 31.18, 295.72°)
OKLaboklab(14.91% -0.0063 -0.0927)
OKLCHoklch(14.91% 0.093 266.1)
XYZxyz(0.5884, 0.2715, 2.9265)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010231 #313001
analogous
#011A31 #010231 #180131
triadic
#010231 #310102 #023101
tetradic
#010231 #31011A #313001 #013118
square
#010231 #31011A #313001 #013118
split-complementary
#010231 #311801 #1A3101
monochromatic
#01011E #01011E #010231 #02046D #0307A9

Accessibility & contrast

On white

19.92
#010231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#010231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010231
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010231#FFFFFF#000000##FFFFFF
##0102311.0019.921.0519.92
#FFFFFF19.921.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000630
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #010231;
/* rgb */ color: rgb(1, 2, 49);
/* oklch */ color: oklch(14.9% 0.093 266.1);
Tailwind
colors: {
  custom: {
    50: '#494769',
    500: '#010231',
    950: '#000000',
  },
}
SCSS
$custom: #010231;
$custom-light: #494769;
$custom-dark: #000000;
JSON
{
  "hex": "#010231",
  "rgb": {
    "r": 1,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 238.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.14914,
    "c": 0.09288,
    "h": 266.1
  },
  "luminance": 0.00272
}

Semantic roles & 50–950 ramp

primary
#010231
secondary
#777517
accent
#FB29FF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #010231

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

Preview Lab → · Contrast checker → · Palette generator →

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