#070223#070223

#070223 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.6% C 0.069 H 282.6°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#070223
RGBrgb(7, 2, 35)
HSLhsl(249, 89%, 7%)
HSVhsv(249, 94%, 14%)
CMYKcmyk(80%, 94.3%, 0%, 86.3%)
CIE-LABlab(1.90, 8.73, -18.22)
CIE-LCHlch(1.90, 20.20, 295.60°)
OKLaboklab(13.6% 0.0151 -0.0677)
OKLCHoklch(13.6% 0.069 282.6)
XYZxyz(0.4126, 0.2099, 1.6086)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070223 #1E2302
analogous
#020E23 #070223 #180223
triadic
#070223 #230702 #022307
tetradic
#070223 #23020E #1E2302 #022318
square
#070223 #23020E #1E2302 #022318
split-complementary
#070223 #231802 #0E2302
monochromatic
#06021D #06021D #070223 #13055D #1E0997

Accessibility & contrast

On white

20.15
#070223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#070223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070223
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070223#FFFFFF#000000##FFFFFF
##0702231.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000824
Deuteranopia (green-blind)
#000622
Tritanopia (blue-blind)
#000911
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #070223;
/* rgb */ color: rgb(7, 2, 35);
/* oklch */ color: oklch(13.6% 0.069 282.6);
Tailwind
colors: {
  custom: {
    50: '#49475e',
    500: '#070223',
    950: '#000000',
  },
}
SCSS
$custom: #070223;
$custom-light: #49475e;
$custom-dark: #000000;
JSON
{
  "hex": "#070223",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 249.091,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.13598,
    "c": 0.06936,
    "h": 282.6
  },
  "luminance": 0.0021
}

Semantic roles & 50–950 ramp

primary
#070223
secondary
#5C6918
accent
#FF29DF
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #070223

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

Preview Lab → · Contrast checker → · Palette generator →

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