#070C4E#070C4E

#070C4E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.117 H 268.5°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#070C4E
RGBrgb(7, 12, 78)
HSLhsl(236, 84%, 17%)
HSVhsv(236, 91%, 31%)
CMYKcmyk(91%, 84.6%, 0%, 69.4%)
CIE-LABlab(7.75, 25.61, -40.26)
CIE-LCHlch(7.75, 47.71, 302.46°)
OKLaboklab(21.55% -0.0031 -0.1167)
OKLCHoklch(21.55% 0.117 268.5)
XYZxyz(1.5938, 0.8580, 7.2879)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C4E #4E4907
analogous
#07304E #070C4E #26074E
triadic
#070C4E #4E070C #0C4E07
tetradic
#070C4E #4E0730 #4E4907 #074E26
square
#070C4E #4E0730 #4E4907 #074E26
split-complementary
#070C4E #4E2607 #304E07
monochromatic
#03041C #03041C #070C4E #0C1586 #111DBE

Accessibility & contrast

On white

17.92
#070C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#070C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070C4E
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C4E#FFFFFF#000000##FFFFFF
##070C4E1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B50
Deuteranopia (green-blind)
#00134D
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #070c4e;
/* rgb */ color: rgb(7, 12, 78);
/* oklch */ color: oklch(21.6% 0.117 268.5);
Tailwind
colors: {
  custom: {
    50: '#584b80',
    500: '#070c4e',
    950: '#000000',
  },
}
SCSS
$custom: #070c4e;
$custom-light: #584b80;
$custom-dark: #000000;
JSON
{
  "hex": "#070c4e",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 78
  },
  "hsl": {
    "h": 235.775,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21553,
    "c": 0.1167,
    "h": 268.5
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#070C4E
secondary
#8C8525
accent
#EB2EFA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #070C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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