#070F3D#070F3D

#070F3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.088 H 268.6°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#070F3D
RGBrgb(7, 15, 61)
HSLhsl(231, 79%, 13%)
HSVhsv(231, 89%, 24%)
CMYKcmyk(88.5%, 75.4%, 0%, 76.1%)
CIE-LABlab(6.54, 15.98, -30.27)
CIE-LCHlch(6.54, 34.23, 297.82°)
OKLaboklab(19.99% -0.0021 -0.0881)
OKLCHoklch(19.99% 0.088 268.6)
XYZxyz(1.1005, 0.7236, 4.4956)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F3D #3D3507
analogous
#072A3D #070F3D #1A073D
triadic
#070F3D #3D070F #0F3D07
tetradic
#070F3D #3D072A #3D3507 #073D1A
square
#070F3D #3D072A #3D3507 #073D1A
split-complementary
#070F3D #3D1A07 #2A3D07
monochromatic
#03071B #03071B #070F3D #0D1C74 #142AAB

Accessibility & contrast

On white

18.34
#070F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#070F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F3D
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F3D#FFFFFF#000000##FFFFFF
##070F3D1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00123C
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #070f3d;
/* rgb */ color: rgb(7, 15, 61);
/* oklch */ color: oklch(20.0% 0.088 268.6);
Tailwind
colors: {
  custom: {
    50: '#514d73',
    500: '#070f3d',
    950: '#000000',
  },
}
SCSS
$custom: #070f3d;
$custom-light: #514d73;
$custom-dark: #000000;
JSON
{
  "hex": "#070f3d",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 231.111,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19993,
    "c": 0.08814,
    "h": 268.6
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#070F3D
secondary
#7C6F23
accent
#D932F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #070F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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