#020136#020136

#020136 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.101 H 267.4°. Best body text is #FFFFFF at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#020136
RGBrgb(2, 1, 54)
HSLhsl(241, 96%, 11%)
HSVhsv(241, 98%, 21%)
CMYKcmyk(96.3%, 98.1%, 0%, 78.8%)
CIE-LABlab(2.72, 17.02, -31.38)
CIE-LCHlch(2.72, 35.70, 298.47°)
OKLaboklab(15.57% -0.0045 -0.1005)
OKLCHoklch(15.57% 0.101 267.4)
XYZxyz(0.7015, 0.3009, 3.5104)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020136 #353601
analogous
#011A36 #020136 #1C0136
triadic
#020136 #360201 #013602
tetradic
#020136 #36011A #353601 #01361C
square
#020136 #36011A #353601 #01361C
split-complementary
#020136 #361C01 #1A3601
monochromatic
#01011E #01011E #020136 #040272 #0603AE

Accessibility & contrast

On white

19.81
#020136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#020136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020136
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020136#FFFFFF#000000##FFFFFF
##0201361.0019.811.0619.81
#FFFFFF19.811.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D37
Deuteranopia (green-blind)
#000735
Tritanopia (blue-blind)
#00111C
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #020136;
/* rgb */ color: rgb(2, 1, 54);
/* oklch */ color: oklch(15.6% 0.101 267.4);
Tailwind
colors: {
  custom: {
    50: '#4b466e',
    500: '#020136',
    950: '#000000',
  },
}
SCSS
$custom: #020136;
$custom-light: #4b466e;
$custom-dark: #000000;
JSON
{
  "hex": "#020136",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 241.132,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.15568,
    "c": 0.10065,
    "h": 267.4
  },
  "luminance": 0.00301
}

Semantic roles & 50–950 ramp

primary
#020136
secondary
#797B18
accent
#FF29FB
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#010007
muted
#77777A

Preview Lab

Preview with #020136

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

Preview Lab → · Contrast checker → · Palette generator →

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