#070F33#070F33

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

Color values

HEX#070F33
RGBrgb(7, 15, 51)
HSLhsl(229, 76%, 11%)
HSVhsv(229, 86%, 20%)
CMYKcmyk(86.3%, 70.6%, 0%, 80%)
CIE-LABlab(5.65, 10.69, -24.43)
CIE-LCHlch(5.65, 26.67, 293.63°)
OKLaboklab(18.88% -0.0018 -0.0719)
OKLCHoklch(18.88% 0.072 268.5)
XYZxyz(0.8558, 0.6257, 3.2070)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F33 #332B07
analogous
#072533 #070F33 #150733
triadic
#070F33 #33070F #0F3307
tetradic
#070F33 #330725 #332B07 #073315
square
#070F33 #330725 #332B07 #073315
split-complementary
#070F33 #331507 #253307
monochromatic
#04081B #04081B #070F33 #0E1F69 #162F9F

Accessibility & contrast

On white

18.66
#070F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#070F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F33
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F33#FFFFFF#000000##FFFFFF
##070F331.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070f33;
/* rgb */ color: rgb(7, 15, 51);
/* oklch */ color: oklch(18.9% 0.072 268.5);
Tailwind
colors: {
  custom: {
    50: '#4d4d6b',
    500: '#070f33',
    950: '#000000',
  },
}
SCSS
$custom: #070f33;
$custom-light: #4d4d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#070f33",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 229.091,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18883,
    "c": 0.07192,
    "h": 268.5
  },
  "luminance": 0.00626
}

Semantic roles & 50–950 ramp

primary
#070F33
secondary
#736423
accent
#D035F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #070F33

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

Preview Lab → · Contrast checker → · Palette generator →

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