#020739#020739

#020739 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.5% C 0.095 H 266.3°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#020739
RGBrgb(2, 7, 57)
HSLhsl(235, 93%, 12%)
HSVhsv(235, 96%, 22%)
CMYKcmyk(96.5%, 87.7%, 0%, 77.6%)
CIE-LABlab(4.16, 16.46, -31.26)
CIE-LCHlch(4.16, 35.33, 297.78°)
OKLaboklab(17.47% -0.0062 -0.095)
OKLCHoklch(17.47% 0.095 266.3)
XYZxyz(0.8393, 0.4602, 3.9147)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020739 #393402
analogous
#022339 #020739 #190239
triadic
#020739 #390207 #073902
tetradic
#020739 #390223 #393402 #023919
square
#020739 #390223 #393402 #023919
split-complementary
#020739 #391902 #233902
monochromatic
#01041E #01041E #020739 #040E74 #0616AF

Accessibility & contrast

On white

19.23
#020739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#020739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020739
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020739#FFFFFF#000000##FFFFFF
##0207391.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113A
Deuteranopia (green-blind)
#000C38
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020739;
/* rgb */ color: rgb(2, 7, 57);
/* oklch */ color: oklch(17.5% 0.095 266.3);
Tailwind
colors: {
  custom: {
    50: '#4d4970',
    500: '#020739',
    950: '#000000',
  },
}
SCSS
$custom: #020739;
$custom-light: #4d4970;
$custom-dark: #000000;
JSON
{
  "hex": "#020739",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 234.545,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17469,
    "c": 0.09515,
    "h": 266.3
  },
  "luminance": 0.0046
}

Semantic roles & 50–950 ramp

primary
#020739
secondary
#7D741A
accent
#EC29FF
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #020739

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

Preview Lab → · Contrast checker → · Palette generator →

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