#020041#020041

#020041 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.116 H 266.5°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#020041
RGBrgb(2, 0, 65)
HSLhsl(242, 100%, 13%)
HSVhsv(242, 100%, 25%)
CMYKcmyk(96.9%, 100%, 0%, 74.5%)
CIE-LABlab(3.56, 24.46, -38.01)
CIE-LCHlch(3.56, 45.20, 302.76°)
OKLaboklab(17.16% -0.0071 -0.1159)
OKLCHoklch(17.16% 0.116 266.5)
XYZxyz(0.9788, 0.3944, 5.0245)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020041 #3F4100
analogous
#001E41 #020041 #220041
triadic
#020041 #410200 #004102
tetradic
#020041 #41001E #3F4100 #004122
square
#020041 #41001E #3F4100 #004122
split-complementary
#020041 #412200 #1E4100
monochromatic
#01001F #01001F #020041 #04007E #0600BB

Accessibility & contrast

On white

19.46
#020041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#020041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020041
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020041#FFFFFF#000000##FFFFFF
##0200411.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001043
Deuteranopia (green-blind)
#000940
Tritanopia (blue-blind)
#001522
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020041;
/* rgb */ color: rgb(2, 0, 65);
/* oklch */ color: oklch(17.2% 0.116 266.5);
Tailwind
colors: {
  custom: {
    50: '#514576',
    500: '#020041',
    950: '#000000',
  },
}
SCSS
$custom: #020041;
$custom-light: #514576;
$custom-dark: #000000;
JSON
{
  "hex": "#020041",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 65
  },
  "hsl": {
    "h": 241.846,
    "s": 100,
    "l": 12.745
  },
  "oklch": {
    "l": 0.17158,
    "c": 0.11612,
    "h": 266.5
  },
  "luminance": 0.00395
}

Semantic roles & 50–950 ramp

primary
#020041
secondary
#828518
accent
#FF29F8
background
#F4F3F7
surface
#E8E5ED
border
#C4C1C8
text
#030009
muted
#78777B

Preview Lab

Preview with #020041

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

Preview Lab → · Contrast checker → · Palette generator →

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