#07022F#07022F

#07022F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.087 H 276.7°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#07022F
RGBrgb(7, 2, 47)
HSLhsl(247, 92%, 10%)
HSVhsv(247, 96%, 18%)
CMYKcmyk(85.1%, 95.7%, 0%, 81.6%)
CIE-LABlab(2.65, 14.05, -26.25)
CIE-LCHlch(2.65, 29.78, 298.16°)
OKLaboklab(15.32% 0.0101 -0.086)
OKLCHoklch(15.32% 0.087 276.7)
XYZxyz(0.6223, 0.2938, 2.7127)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07022F #2A2F02
analogous
#02142F #07022F #1E022F
triadic
#07022F #2F0702 #022F07
tetradic
#07022F #2F0214 #2A2F02 #022F1E
square
#07022F #2F0214 #2A2F02 #022F1E
split-complementary
#07022F #2F1E02 #142F02
monochromatic
#04011D #04011D #07022F #10046A #1807A4

Accessibility & contrast

On white

19.83
#07022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#07022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07022F
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07022F#FFFFFF#000000##FFFFFF
##07022F1.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#00082E
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #07022f;
/* rgb */ color: rgb(7, 2, 47);
/* oklch */ color: oklch(15.3% 0.087 276.7);
Tailwind
colors: {
  custom: {
    50: '#4b4768',
    500: '#07022f',
    950: '#000000',
  },
}
SCSS
$custom: #07022f;
$custom-light: #4b4768;
$custom-dark: #000000;
JSON
{
  "hex": "#07022f",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 246.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1532,
    "c": 0.08659,
    "h": 276.7
  },
  "luminance": 0.00294
}

Semantic roles & 50–950 ramp

primary
#07022F
secondary
#6A7419
accent
#FF29E7
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07022F

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

Preview Lab → · Contrast checker → · Palette generator →

#07022F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva