#070E40#070E40

#070E40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.094 H 268.9°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#070E40
RGBrgb(7, 14, 64)
HSLhsl(233, 80%, 14%)
HSVhsv(233, 89%, 25%)
CMYKcmyk(89.1%, 78.1%, 0%, 74.9%)
CIE-LABlab(6.59, 18.08, -32.33)
CIE-LCHlch(6.59, 37.04, 299.21°)
OKLaboklab(20.14% -0.0018 -0.0941)
OKLCHoklch(20.14% 0.094 268.9)
XYZxyz(1.1698, 0.7293, 4.9286)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070E40 #403907
analogous
#072B40 #070E40 #1D0740
triadic
#070E40 #40070E #0E4007
tetradic
#070E40 #40072B #403907 #07401D
square
#070E40 #40072B #403907 #07401D
split-complementary
#070E40 #401D07 #2B4007
monochromatic
#03061C #03061C #070E40 #0D1A77 #1326AE

Accessibility & contrast

On white

18.33
#070E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#070E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070E40
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070E40#FFFFFF#000000##FFFFFF
##070E401.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #070e40;
/* rgb */ color: rgb(7, 14, 64);
/* oklch */ color: oklch(20.1% 0.094 268.9);
Tailwind
colors: {
  custom: {
    50: '#524c75',
    500: '#070e40',
    950: '#000000',
  },
}
SCSS
$custom: #070e40;
$custom-light: #524c75;
$custom-dark: #000000;
JSON
{
  "hex": "#070e40",
  "rgb": {
    "r": 7,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 232.632,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20139,
    "c": 0.09412,
    "h": 268.9
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#070E40
secondary
#7F7424
accent
#DE31F7
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070E40

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

Preview Lab → · Contrast checker → · Palette generator →

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