#07102E#07102E

#07102E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.062 H 267.1°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#07102E
RGBrgb(7, 16, 46)
HSLhsl(226, 74%, 10%)
HSVhsv(226, 85%, 18%)
CMYKcmyk(84.8%, 65.2%, 0%, 82%)
CIE-LABlab(5.54, 7.51, -20.92)
CIE-LCHlch(5.54, 22.22, 289.75°)
OKLaboklab(18.62% -0.0031 -0.0617)
OKLCHoklch(18.62% 0.062 267.1)
XYZxyz(0.7659, 0.6129, 2.6622)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07102E #2E2507
analogous
#07232E #07102E #11072E
triadic
#07102E #2E0710 #102E07
tetradic
#07102E #2E0723 #2E2507 #072E11
square
#07102E #2E0723 #2E2507 #072E11
split-complementary
#07102E #2E1107 #232E07
monochromatic
#04091B #04091B #07102E #0F2263 #173598

Accessibility & contrast

On white

18.71
#07102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07102E
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07102E#FFFFFF#000000##FFFFFF
##07102E1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #07102e;
/* rgb */ color: rgb(7, 16, 46);
/* oklch */ color: oklch(18.6% 0.062 267.1);
Tailwind
colors: {
  custom: {
    50: '#4c4e67',
    500: '#07102e',
    950: '#000000',
  },
}
SCSS
$custom: #07102e;
$custom-light: #4c4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#07102e",
  "rgb": {
    "r": 7,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 226.154,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18622,
    "c": 0.06178,
    "h": 267.1
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#07102E
secondary
#6E5C23
accent
#C638F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #07102E

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

Preview Lab → · Contrast checker → · Palette generator →

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