#07023A#07023A

#07023A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.102 H 273.2°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#07023A
RGBrgb(7, 2, 58)
HSLhsl(245, 93%, 12%)
HSVhsv(245, 97%, 23%)
CMYKcmyk(87.9%, 96.6%, 0%, 77.3%)
CIE-LABlab(3.56, 20.40, -32.94)
CIE-LCHlch(3.56, 38.75, 301.77°)
OKLaboklab(16.97% 0.0057 -0.1014)
OKLCHoklch(16.97% 0.102 273.2)
XYZxyz(0.8728, 0.3940, 4.0322)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07023A #353A02
analogous
#02193A #07023A #23023A
triadic
#07023A #3A0702 #023A07
tetradic
#07023A #3A0219 #353A02 #023A23
square
#07023A #3A0219 #353A02 #023A23
split-complementary
#07023A #3A2302 #193A02
monochromatic
#04011E #04011E #07023A #0E0475 #1506B0

Accessibility & contrast

On white

19.47
#07023A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#07023A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07023A
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07023A#FFFFFF#000000##FFFFFF
##07023A1.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F3C
Deuteranopia (green-blind)
#000A39
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #07023a;
/* rgb */ color: rgb(7, 2, 58);
/* oklch */ color: oklch(17.0% 0.102 273.2);
Tailwind
colors: {
  custom: {
    50: '#504671',
    500: '#07023a',
    950: '#000000',
  },
}
SCSS
$custom: #07023a;
$custom-light: #504671;
$custom-dark: #000000;
JSON
{
  "hex": "#07023a",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 58
  },
  "hsl": {
    "h": 245.357,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.16965,
    "c": 0.10152,
    "h": 273.2
  },
  "luminance": 0.00394
}

Semantic roles & 50–950 ramp

primary
#07023A
secondary
#757D1A
accent
#FF29EC
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #07023A

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

Preview Lab → · Contrast checker → · Palette generator →

#07023A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva