#020025#020025

#020025 is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 12.3% C 0.080 H 270.6°. Best body text is #FFFFFF at 20.40:1 contrast (WCAG AA passes).

Color values

HEX#020025
RGBrgb(2, 0, 37)
HSLhsl(243, 100%, 7%)
HSVhsv(243, 100%, 15%)
CMYKcmyk(94.6%, 100%, 0%, 85.5%)
CIE-LABlab(1.32, 9.00, -20.70)
CIE-LCHlch(1.32, 22.57, 293.51°)
OKLaboklab(12.33% 0.0009 -0.0804)
OKLCHoklch(12.33% 0.08 270.6)
XYZxyz(0.3589, 0.1464, 1.7593)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020025 #232500
analogous
#001125 #020025 #150025
triadic
#020025 #250200 #002502
tetradic
#020025 #250011 #232500 #002515
square
#020025 #250011 #232500 #002515
split-complementary
#020025 #251500 #112500
monochromatic
#02001F #02001F #020025 #050062 #09009F

Accessibility & contrast

On white

20.40
#020025 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020025
20.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020025#FFFFFF#000000##FFFFFF
##0200251.0020.401.0320.40
#FFFFFF20.401.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000626
Deuteranopia (green-blind)
#000324
Tritanopia (blue-blind)
#000911
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #020025;
/* rgb */ color: rgb(2, 0, 37);
/* oklch */ color: oklch(12.3% 0.080 270.6);
Tailwind
colors: {
  custom: {
    50: '#47475f',
    500: '#020025',
    950: '#000000',
  },
}
SCSS
$custom: #020025;
$custom-light: #47475f;
$custom-dark: #000000;
JSON
{
  "hex": "#020025",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 37
  },
  "hsl": {
    "h": 243.243,
    "s": 100,
    "l": 7.255
  },
  "oklch": {
    "l": 0.12333,
    "c": 0.08039,
    "h": 270.6
  },
  "luminance": 0.00146
}

Semantic roles & 50–950 ramp

primary
#020025
secondary
#696D13
accent
#FF29F3
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #020025

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

Preview Lab → · Contrast checker → · Palette generator →

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