#020732#020732

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

Color values

HEX#020732
RGBrgb(2, 7, 50)
HSLhsl(234, 92%, 10%)
HSVhsv(234, 96%, 20%)
CMYKcmyk(96%, 86%, 0%, 80.4%)
CIE-LABlab(3.57, 12.33, -27.05)
CIE-LCHlch(3.57, 29.73, 294.50°)
OKLaboklab(16.51% -0.0052 -0.0846)
OKLCHoklch(16.51% 0.085 266.5)
XYZxyz(0.6765, 0.3951, 3.0576)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020732 #322D02
analogous
#021F32 #020732 #150232
triadic
#020732 #320207 #073202
tetradic
#020732 #32021F #322D02 #023215
square
#020732 #32021F #322D02 #023215
split-complementary
#020732 #321502 #1F3202
monochromatic
#01041D #01041D #020732 #040F6D #0717A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##020732#FFFFFF#000000##FFFFFF
##0207321.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)
#000F33
Deuteranopia (green-blind)
#000A31
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020732;
/* rgb */ color: rgb(2, 7, 50);
/* oklch */ color: oklch(16.5% 0.085 266.5);
Tailwind
colors: {
  custom: {
    50: '#4a496a',
    500: '#020732',
    950: '#000000',
  },
}
SCSS
$custom: #020732;
$custom-light: #4a496a;
$custom-dark: #000000;
JSON
{
  "hex": "#020732",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 233.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16505,
    "c": 0.08476,
    "h": 266.5
  },
  "luminance": 0.00395
}

Semantic roles & 50–950 ramp

primary
#020732
secondary
#766D19
accent
#E929FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020732

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

Preview Lab → · Contrast checker → · Palette generator →

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