#070A2E#070A2E

#070A2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.071 H 272.3°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#070A2E
RGBrgb(7, 10, 46)
HSLhsl(235, 74%, 10%)
HSVhsv(235, 85%, 18%)
CMYKcmyk(84.8%, 78.3%, 0%, 82%)
CIE-LABlab(4.15, 10.34, -23.12)
CIE-LCHlch(4.15, 25.33, 294.10°)
OKLaboklab(17.18% 0.0028 -0.0711)
OKLCHoklch(17.18% 0.071 272.3)
XYZxyz(0.6891, 0.4594, 2.6366)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A2E #2E2B07
analogous
#071D2E #070A2E #17072E
triadic
#070A2E #2E070A #0A2E07
tetradic
#070A2E #2E071D #2E2B07 #072E17
square
#070A2E #2E071D #2E2B07 #072E17
split-complementary
#070A2E #2E1707 #1D2E07
monochromatic
#04061B #04061B #070A2E #0F1663 #172198

Accessibility & contrast

On white

19.23
#070A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#070A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070A2E
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A2E#FFFFFF#000000##FFFFFF
##070A2E1.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070a2e;
/* rgb */ color: rgb(7, 10, 46);
/* oklch */ color: oklch(17.2% 0.071 272.3);
Tailwind
colors: {
  custom: {
    50: '#4c4b67',
    500: '#070a2e',
    950: '#000000',
  },
}
SCSS
$custom: #070a2e;
$custom-light: #4c4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#070a2e",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 235.385,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17175,
    "c": 0.07115,
    "h": 272.3
  },
  "luminance": 0.0046
}

Semantic roles & 50–950 ramp

primary
#070A2E
secondary
#6E6823
accent
#E238F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070A2E

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

Preview Lab → · Contrast checker → · Palette generator →

#070A2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva