#07023B#07023B

#07023B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.103 H 273.0°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#07023B
RGBrgb(7, 2, 59)
HSLhsl(245, 93%, 12%)
HSVhsv(245, 97%, 23%)
CMYKcmyk(88.1%, 96.6%, 0%, 76.9%)
CIE-LABlab(3.65, 21.01, -33.52)
CIE-LCHlch(3.65, 39.56, 302.09°)
OKLaboklab(17.12% 0.0054 -0.1027)
OKLCHoklch(17.12% 0.103 273)
XYZxyz(0.8985, 0.4043, 4.1675)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07023B #363B02
analogous
#021A3B #07023B #24023B
triadic
#07023B #3B0702 #023B07
tetradic
#07023B #3B021A #363B02 #023B24
square
#07023B #3B021A #363B02 #023B24
split-complementary
#07023B #3B2402 #1A3B02
monochromatic
#04011E #04011E #07023B #0E0476 #1506B1

Accessibility & contrast

On white

19.43
#07023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07023B
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07023B#FFFFFF#000000##FFFFFF
##07023B1.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103D
Deuteranopia (green-blind)
#000A3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #07023b;
/* rgb */ color: rgb(7, 2, 59);
/* oklch */ color: oklch(17.1% 0.103 273.0);
Tailwind
colors: {
  custom: {
    50: '#504672',
    500: '#07023b',
    950: '#000000',
  },
}
SCSS
$custom: #07023b;
$custom-light: #504672;
$custom-dark: #000000;
JSON
{
  "hex": "#07023b",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 245.263,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17117,
    "c": 0.10285,
    "h": 273
  },
  "luminance": 0.00404
}

Semantic roles & 50–950 ramp

primary
#07023B
secondary
#767E1A
accent
#FF29EC
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #07023B

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

Preview Lab → · Contrast checker → · Palette generator →

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