#020130#020130

#020130 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.6% C 0.093 H 268.2°. Best body text is #FFFFFF at 20.01:1 contrast (WCAG AA passes).

Color values

HEX#020130
RGBrgb(2, 1, 48)
HSLhsl(241, 96%, 10%)
HSVhsv(241, 98%, 19%)
CMYKcmyk(95.8%, 97.9%, 0%, 81.2%)
CIE-LABlab(2.24, 13.66, -27.68)
CIE-LCHlch(2.24, 30.87, 296.27°)
OKLaboklab(14.57% -0.0029 -0.0927)
OKLCHoklch(14.57% 0.093 268.2)
XYZxyz(0.5692, 0.2479, 2.8136)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020130 #2F3001
analogous
#011830 #020130 #1A0130
triadic
#020130 #300201 #013002
tetradic
#020130 #300118 #2F3001 #01301A
square
#020130 #300118 #2F3001 #01301A
split-complementary
#020130 #301A01 #183001
monochromatic
#01011E #01011E #020130 #04026C #0703A8

Accessibility & contrast

On white

20.01
#020130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020130
20.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020130#FFFFFF#000000##FFFFFF
##0201301.0020.011.0520.01
#FFFFFF20.011.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B31
Deuteranopia (green-blind)
#00062F
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #020130;
/* rgb */ color: rgb(2, 1, 48);
/* oklch */ color: oklch(14.6% 0.093 268.2);
Tailwind
colors: {
  custom: {
    50: '#494769',
    500: '#020130',
    950: '#000000',
  },
}
SCSS
$custom: #020130;
$custom-light: #494769;
$custom-dark: #000000;
JSON
{
  "hex": "#020130",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 241.277,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.14574,
    "c": 0.09274,
    "h": 268.2
  },
  "luminance": 0.00248
}

Semantic roles & 50–950 ramp

primary
#020130
secondary
#747617
accent
#FF29FA
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020130

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

Preview Lab → · Contrast checker → · Palette generator →

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