#070E34#070E34

#070E34 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.075 H 269.3°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#070E34
RGBrgb(7, 14, 52)
HSLhsl(231, 76%, 12%)
HSVhsv(231, 87%, 20%)
CMYKcmyk(86.5%, 73.1%, 0%, 79.6%)
CIE-LABlab(5.48, 11.76, -25.44)
CIE-LCHlch(5.48, 28.03, 294.81°)
OKLaboklab(18.76% -0.0009 -0.0751)
OKLCHoklch(18.76% 0.075 269.3)
XYZxyz(0.8643, 0.6071, 3.3198)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070E34 #342D07
analogous
#072534 #070E34 #170734
triadic
#070E34 #34070E #0E3407
tetradic
#070E34 #340725 #342D07 #073417
square
#070E34 #340725 #342D07 #073417
split-complementary
#070E34 #341707 #253407
monochromatic
#04071B #04071B #070E34 #0E1D6A #162BA0

Accessibility & contrast

On white

18.73
#070E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070E34
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070E34#FFFFFF#000000##FFFFFF
##070E341.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#001033
Tritanopia (blue-blind)
#00181F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070e34;
/* rgb */ color: rgb(7, 14, 52);
/* oklch */ color: oklch(18.8% 0.075 269.3);
Tailwind
colors: {
  custom: {
    50: '#4e4d6c',
    500: '#070e34',
    950: '#000000',
  },
}
SCSS
$custom: #070e34;
$custom-light: #4e4d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#070e34",
  "rgb": {
    "r": 7,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 230.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18755,
    "c": 0.07511,
    "h": 269.3
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#070E34
secondary
#746723
accent
#D535F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #070E34

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

Preview Lab → · Contrast checker → · Palette generator →

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