#020027#020027

#020027 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.7% C 0.083 H 270.1°. Best body text is #FFFFFF at 20.35:1 contrast (WCAG AA passes).

Color values

HEX#020027
RGBrgb(2, 0, 39)
HSLhsl(243, 100%, 8%)
HSVhsv(243, 100%, 15%)
CMYKcmyk(94.9%, 100%, 0%, 84.7%)
CIE-LABlab(1.44, 9.82, -22.07)
CIE-LCHlch(1.44, 24.16, 293.98°)
OKLaboklab(12.68% 0.0001 -0.0831)
OKLCHoklch(12.68% 0.083 270.1)
XYZxyz(0.3911, 0.1593, 1.9292)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020027 #252700
analogous
#001127 #020027 #150027
triadic
#020027 #270200 #002702
tetradic
#020027 #270011 #252700 #002715
square
#020027 #270011 #252700 #002715
split-complementary
#020027 #271500 #112700
monochromatic
#02001F #02001F #020027 #050064 #0800A1

Accessibility & contrast

On white

20.35
#020027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#020027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020027
20.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020027#FFFFFF#000000##FFFFFF
##0200271.0020.351.0320.35
#FFFFFF20.351.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000728
Deuteranopia (green-blind)
#000426
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #020027;
/* rgb */ color: rgb(2, 0, 39);
/* oklch */ color: oklch(12.7% 0.083 270.1);
Tailwind
colors: {
  custom: {
    50: '#474761',
    500: '#020027',
    950: '#000000',
  },
}
SCSS
$custom: #020027;
$custom-light: #474761;
$custom-dark: #000000;
JSON
{
  "hex": "#020027",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 243.077,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.12685,
    "c": 0.08308,
    "h": 270.1
  },
  "luminance": 0.00159
}

Semantic roles & 50–950 ramp

primary
#020027
secondary
#6A6F14
accent
#FF29F4
background
#F4F3F5
surface
#E6E5EA
border
#C2C1C6
text
#000005
muted
#777779

Preview Lab

Preview with #020027

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

Preview Lab → · Contrast checker → · Palette generator →

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