#070F3E#070F3E

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

Color values

HEX#070F3E
RGBrgb(7, 15, 62)
HSLhsl(231, 80%, 14%)
HSVhsv(231, 89%, 24%)
CMYKcmyk(88.7%, 75.8%, 0%, 75.7%)
CIE-LABlab(6.63, 16.47, -30.83)
CIE-LCHlch(6.63, 34.95, 298.12°)
OKLaboklab(20.11% -0.0022 -0.0897)
OKLCHoklch(20.11% 0.09 268.6)
XYZxyz(1.1276, 0.7345, 4.6388)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F3E #3E3607
analogous
#072A3E #070F3E #1A073E
triadic
#070F3E #3E070F #0F3E07
tetradic
#070F3E #3E072A #3E3607 #073E1A
square
#070F3E #3E072A #3E3607 #073E1A
split-complementary
#070F3E #3E1A07 #2A3E07
monochromatic
#03071B #03071B #070F3E #0D1C75 #132AAC

Accessibility & contrast

On white

18.31
#070F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F3E
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F3E#FFFFFF#000000##FFFFFF
##070F3E1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173F
Deuteranopia (green-blind)
#00123D
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #070f3e;
/* rgb */ color: rgb(7, 15, 62);
/* oklch */ color: oklch(20.1% 0.090 268.6);
Tailwind
colors: {
  custom: {
    50: '#524d74',
    500: '#070f3e',
    950: '#000000',
  },
}
SCSS
$custom: #070f3e;
$custom-light: #524d74;
$custom-dark: #000000;
JSON
{
  "hex": "#070f3e",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 231.273,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20109,
    "c": 0.0897,
    "h": 268.6
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#070F3E
secondary
#7D7024
accent
#DA32F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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