#070A4E#070A4E

#070A4E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.119 H 268.8°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#070A4E
RGBrgb(7, 10, 78)
HSLhsl(237, 84%, 17%)
HSVhsv(237, 91%, 31%)
CMYKcmyk(91%, 87.2%, 0%, 69.4%)
CIE-LABlab(7.34, 26.77, -40.94)
CIE-LCHlch(7.34, 48.92, 303.18°)
OKLaboklab(21.25% -0.0025 -0.1187)
OKLCHoklch(21.25% 0.119 268.8)
XYZxyz(1.5708, 0.8121, 7.2802)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A4E #4E4B07
analogous
#072E4E #070A4E #28074E
triadic
#070A4E #4E070A #0A4E07
tetradic
#070A4E #4E072E #4E4B07 #074E28
square
#070A4E #4E072E #4E4B07 #074E28
split-complementary
#070A4E #4E2807 #2E4E07
monochromatic
#03041C #03041C #070A4E #0C1186 #1118BE

Accessibility & contrast

On white

18.07
#070A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#070A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070A4E
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A4E#FFFFFF#000000##FFFFFF
##070A4E1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A50
Deuteranopia (green-blind)
#00124D
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #070a4e;
/* rgb */ color: rgb(7, 10, 78);
/* oklch */ color: oklch(21.3% 0.119 268.8);
Tailwind
colors: {
  custom: {
    50: '#584a81',
    500: '#070a4e',
    950: '#000000',
  },
}
SCSS
$custom: #070a4e;
$custom-light: #584a81;
$custom-dark: #000000;
JSON
{
  "hex": "#070a4e",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 78
  },
  "hsl": {
    "h": 237.465,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2125,
    "c": 0.11873,
    "h": 268.8
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#070A4E
secondary
#8C8825
accent
#F12EFA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #070A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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