#070F40#070F40

#070F40 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.093 H 268.5°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#070F40
RGBrgb(7, 15, 64)
HSLhsl(232, 80%, 14%)
HSVhsv(232, 89%, 25%)
CMYKcmyk(89.1%, 76.6%, 0%, 74.9%)
CIE-LABlab(6.84, 17.46, -31.93)
CIE-LCHlch(6.84, 36.39, 298.67°)
OKLaboklab(20.34% -0.0024 -0.0927)
OKLCHoklch(20.34% 0.093 268.5)
XYZxyz(1.1835, 0.7568, 4.9332)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F40 #403807
analogous
#072C40 #070F40 #1C0740
triadic
#070F40 #40070F #0F4007
tetradic
#070F40 #40072C #403807 #07401C
square
#070F40 #40072C #403807 #07401C
split-complementary
#070F40 #401C07 #2C4007
monochromatic
#03061C #03061C #070F40 #0D1C77 #1329AE

Accessibility & contrast

On white

18.24
#070F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F40
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F40#FFFFFF#000000##FFFFFF
##070F401.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070f40;
/* rgb */ color: rgb(7, 15, 64);
/* oklch */ color: oklch(20.3% 0.093 268.5);
Tailwind
colors: {
  custom: {
    50: '#524d75',
    500: '#070f40',
    950: '#000000',
  },
}
SCSS
$custom: #070f40;
$custom-light: #524d75;
$custom-dark: #000000;
JSON
{
  "hex": "#070f40",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 231.579,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20343,
    "c": 0.09278,
    "h": 268.5
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#070F40
secondary
#7F7224
accent
#DB31F7
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070F40

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

Preview Lab → · Contrast checker → · Palette generator →

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