#07102D#07102D

#07102D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.060 H 267.0°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#07102D
RGBrgb(7, 16, 45)
HSLhsl(226, 73%, 10%)
HSVhsv(226, 84%, 18%)
CMYKcmyk(84.4%, 64.4%, 0%, 82.4%)
CIE-LABlab(5.47, 7.02, -20.28)
CIE-LCHlch(5.47, 21.46, 289.08°)
OKLaboklab(18.52% -0.0032 -0.0599)
OKLCHoklch(18.52% 0.06 267)
XYZxyz(0.7464, 0.6051, 2.5596)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07102D #2D2407
analogous
#07232D #07102D #11072D
triadic
#07102D #2D0710 #102D07
tetradic
#07102D #2D0723 #2D2407 #072D11
square
#07102D #2D0723 #2D2407 #072D11
split-complementary
#07102D #2D1107 #232D07
monochromatic
#04091A #04091A #07102D #0F2362 #173697

Accessibility & contrast

On white

18.73
#07102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#07102D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07102D
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07102D#FFFFFF#000000##FFFFFF
##07102D1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #07102d;
/* rgb */ color: rgb(7, 16, 45);
/* oklch */ color: oklch(18.5% 0.060 267.0);
Tailwind
colors: {
  custom: {
    50: '#4c4e66',
    500: '#07102d',
    950: '#000000',
  },
}
SCSS
$custom: #07102d;
$custom-light: #4c4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#07102d",
  "rgb": {
    "r": 7,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 225.789,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18525,
    "c": 0.06001,
    "h": 267
  },
  "luminance": 0.00605
}

Semantic roles & 50–950 ramp

primary
#07102D
secondary
#6D5B23
accent
#C438F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #07102D

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

Preview Lab → · Contrast checker → · Palette generator →

#07102D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva