#070F32#070F32

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

Color values

HEX#070F32
RGBrgb(7, 15, 50)
HSLhsl(229, 75%, 11%)
HSVhsv(229, 86%, 20%)
CMYKcmyk(86%, 70%, 0%, 80.4%)
CIE-LABlab(5.57, 10.14, -23.82)
CIE-LCHlch(5.57, 25.89, 293.06°)
OKLaboklab(18.78% -0.0018 -0.0702)
OKLCHoklch(18.78% 0.07 268.5)
XYZxyz(0.8340, 0.6170, 3.0921)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F32 #322A07
analogous
#072432 #070F32 #140732
triadic
#070F32 #32070F #0F3207
tetradic
#070F32 #320724 #322A07 #073214
square
#070F32 #320724 #322A07 #073214
split-complementary
#070F32 #321407 #243207
monochromatic
#04081B #04081B #070F32 #0F1F68 #162F9D

Accessibility & contrast

On white

18.69
#070F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F32
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F32#FFFFFF#000000##FFFFFF
##070F321.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#00181E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070f32;
/* rgb */ color: rgb(7, 15, 50);
/* oklch */ color: oklch(18.8% 0.070 268.5);
Tailwind
colors: {
  custom: {
    50: '#4d4d6a',
    500: '#070f32',
    950: '#000000',
  },
}
SCSS
$custom: #070f32;
$custom-light: #4d4d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#070f32",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 228.837,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18777,
    "c": 0.07023,
    "h": 268.5
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#070F32
secondary
#726323
accent
#CF36F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #070F32

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

Preview Lab → · Contrast checker → · Palette generator →

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