#070D4E#070D4E

#070D4E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.116 H 268.3°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#070D4E
RGBrgb(7, 13, 78)
HSLhsl(235, 84%, 17%)
HSVhsv(235, 91%, 31%)
CMYKcmyk(91%, 83.3%, 0%, 69.4%)
CIE-LABlab(7.98, 24.97, -39.88)
CIE-LCHlch(7.98, 47.05, 302.05°)
OKLaboklab(21.71% -0.0033 -0.1156)
OKLCHoklch(21.71% 0.116 268.3)
XYZxyz(1.6062, 0.8829, 7.2920)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D4E #4E4807
analogous
#07314E #070D4E #25074E
triadic
#070D4E #4E070D #0D4E07
tetradic
#070D4E #4E0731 #4E4807 #074E25
square
#070D4E #4E0731 #4E4807 #074E25
split-complementary
#070D4E #4E2507 #314E07
monochromatic
#03051C #03051C #070D4E #0C1686 #1120BE

Accessibility & contrast

On white

17.85
#070D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#070D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070D4E
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D4E#FFFFFF#000000##FFFFFF
##070D4E1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B50
Deuteranopia (green-blind)
#00144D
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #070d4e;
/* rgb */ color: rgb(7, 13, 78);
/* oklch */ color: oklch(21.7% 0.116 268.3);
Tailwind
colors: {
  custom: {
    50: '#574c80',
    500: '#070d4e',
    950: '#000000',
  },
}
SCSS
$custom: #070d4e;
$custom-light: #574c80;
$custom-dark: #000000;
JSON
{
  "hex": "#070d4e",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 234.93,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21714,
    "c": 0.11563,
    "h": 268.3
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#070D4E
secondary
#8C8325
accent
#E92EFA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #070D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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