#020131#020131

#020131 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.094 H 268.1°. Best body text is #FFFFFF at 19.98:1 contrast (WCAG AA passes).

Color values

HEX#020131
RGBrgb(2, 1, 49)
HSLhsl(241, 96%, 10%)
HSVhsv(241, 98%, 19%)
CMYKcmyk(95.9%, 98%, 0%, 80.8%)
CIE-LABlab(2.32, 14.19, -28.31)
CIE-LCHlch(2.32, 31.67, 296.63°)
OKLaboklab(14.74% -0.0032 -0.094)
OKLCHoklch(14.74% 0.094 268.1)
XYZxyz(0.5901, 0.2563, 2.9235)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020131 #303101
analogous
#011831 #020131 #1A0131
triadic
#020131 #310201 #013102
tetradic
#020131 #310118 #303101 #01311A
square
#020131 #310118 #303101 #01311A
split-complementary
#020131 #311A01 #183101
monochromatic
#01011E #01011E #020131 #04026D #0703A9

Accessibility & contrast

On white

19.98
#020131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020131
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020131#FFFFFF#000000##FFFFFF
##0201311.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B32
Deuteranopia (green-blind)
#000630
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #020131;
/* rgb */ color: rgb(2, 1, 49);
/* oklch */ color: oklch(14.7% 0.094 268.1);
Tailwind
colors: {
  custom: {
    50: '#494769',
    500: '#020131',
    950: '#000000',
  },
}
SCSS
$custom: #020131;
$custom-light: #494769;
$custom-dark: #000000;
JSON
{
  "hex": "#020131",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 241.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1474,
    "c": 0.09407,
    "h": 268.1
  },
  "luminance": 0.00256
}

Semantic roles & 50–950 ramp

primary
#020131
secondary
#757717
accent
#FF29FB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020131

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

Preview Lab → · Contrast checker → · Palette generator →

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