#020730#020730

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

Color values

HEX#020730
RGBrgb(2, 7, 48)
HSLhsl(233, 92%, 10%)
HSVhsv(233, 96%, 19%)
CMYKcmyk(95.8%, 85.4%, 0%, 81.2%)
CIE-LABlab(3.42, 11.26, -25.80)
CIE-LCHlch(3.42, 28.15, 293.57°)
OKLaboklab(16.24% -0.005 -0.0815)
OKLCHoklch(16.24% 0.082 266.5)
XYZxyz(0.6343, 0.3782, 2.8353)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020730 #302B02
analogous
#021E30 #020730 #140230
triadic
#020730 #300207 #073002
tetradic
#020730 #30021E #302B02 #023014
square
#020730 #30021E #302B02 #023014
split-complementary
#020730 #301402 #1E3002
monochromatic
#01041D #01041D #020730 #04106B #0718A6

Accessibility & contrast

On white

19.52
#020730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020730
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020730#FFFFFF#000000##FFFFFF
##0207301.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#000A2F
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #020730;
/* rgb */ color: rgb(2, 7, 48);
/* oklch */ color: oklch(16.2% 0.082 266.5);
Tailwind
colors: {
  custom: {
    50: '#494969',
    500: '#020730',
    950: '#000000',
  },
}
SCSS
$custom: #020730;
$custom-light: #494969;
$custom-dark: #000000;
JSON
{
  "hex": "#020730",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 233.478,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16235,
    "c": 0.08169,
    "h": 266.5
  },
  "luminance": 0.00378
}

Semantic roles & 50–950 ramp

primary
#020730
secondary
#756B19
accent
#E829FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020730

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

Preview Lab → · Contrast checker → · Palette generator →

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