#020726#020726

#020726 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.066 H 266.3°. Best body text is #FFFFFF at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#020726
RGBrgb(2, 7, 38)
HSLhsl(232, 90%, 8%)
HSVhsv(232, 95%, 15%)
CMYKcmyk(94.7%, 81.6%, 0%, 85.1%)
CIE-LABlab(2.75, 6.60, -19.25)
CIE-LCHlch(2.75, 20.35, 288.91°)
OKLaboklab(14.94% -0.0042 -0.0654)
OKLCHoklch(14.94% 0.066 266.3)
XYZxyz(0.4507, 0.3048, 1.8684)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020726 #262102
analogous
#021926 #020726 #0F0226
triadic
#020726 #260207 #072602
tetradic
#020726 #260219 #262102 #02260F
square
#020726 #260219 #262102 #02260F
split-complementary
#020726 #260F02 #192602
monochromatic
#02051D #02051D #020726 #051260 #081C9A

Accessibility & contrast

On white

19.79
#020726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020726
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020726#FFFFFF#000000##FFFFFF
##0207261.0019.791.0619.79
#FFFFFF19.791.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C27
Deuteranopia (green-blind)
#000825
Tritanopia (blue-blind)
#000F15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #020726;
/* rgb */ color: rgb(2, 7, 38);
/* oklch */ color: oklch(14.9% 0.066 266.3);
Tailwind
colors: {
  custom: {
    50: '#474a60',
    500: '#020726',
    950: '#000000',
  },
}
SCSS
$custom: #020726;
$custom-light: #474a60;
$custom-dark: #000000;
JSON
{
  "hex": "#020726",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 231.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14944,
    "c": 0.06556,
    "h": 266.3
  },
  "luminance": 0.00305
}

Semantic roles & 50–950 ramp

primary
#020726
secondary
#6B6018
accent
#E129FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #020726

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

Preview Lab → · Contrast checker → · Palette generator →

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