#020125#020125

#020125 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.8% C 0.078 H 270.3°. Best body text is #FFFFFF at 20.32:1 contrast (WCAG AA passes).

Color values

HEX#020125
RGBrgb(2, 1, 37)
HSLhsl(242, 95%, 7%)
HSVhsv(242, 97%, 15%)
CMYKcmyk(94.6%, 97.3%, 0%, 85.5%)
CIE-LABlab(1.52, 8.60, -20.39)
CIE-LCHlch(1.52, 22.13, 292.87°)
OKLaboklab(12.75% 0.0004 -0.0775)
OKLCHoklch(12.75% 0.078 270.3)
XYZxyz(0.3697, 0.1681, 1.7629)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020125 #242501
analogous
#011225 #020125 #140125
triadic
#020125 #250201 #012502
tetradic
#020125 #250112 #242501 #012514
square
#020125 #250112 #242501 #012514
split-complementary
#020125 #251401 #122501
monochromatic
#02011E #02011E #020125 #050361 #08049C

Accessibility & contrast

On white

20.32
#020125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020125
20.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020125#FFFFFF#000000##FFFFFF
##0201251.0020.321.0320.32
#FFFFFF20.321.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000726
Deuteranopia (green-blind)
#000424
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #020125;
/* rgb */ color: rgb(2, 1, 37);
/* oklch */ color: oklch(12.8% 0.078 270.3);
Tailwind
colors: {
  custom: {
    50: '#47475f',
    500: '#020125',
    950: '#000000',
  },
}
SCSS
$custom: #020125;
$custom-light: #47475f;
$custom-dark: #000000;
JSON
{
  "hex": "#020125",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 37
  },
  "hsl": {
    "h": 241.667,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.12751,
    "c": 0.07754,
    "h": 270.3
  },
  "luminance": 0.00168
}

Semantic roles & 50–950 ramp

primary
#020125
secondary
#6A6C16
accent
#FF29F9
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #020125

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

Preview Lab → · Contrast checker → · Palette generator →

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