#070F3F#070F3F

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

Color values

HEX#070F3F
RGBrgb(7, 15, 63)
HSLhsl(231, 80%, 14%)
HSVhsv(231, 89%, 25%)
CMYKcmyk(88.9%, 76.2%, 0%, 75.3%)
CIE-LABlab(6.73, 16.97, -31.38)
CIE-LCHlch(6.73, 35.67, 298.40°)
OKLaboklab(20.23% -0.0023 -0.0912)
OKLCHoklch(20.23% 0.091 268.6)
XYZxyz(1.1553, 0.7456, 4.7847)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F3F #3F3707
analogous
#072B3F #070F3F #1B073F
triadic
#070F3F #3F070F #0F3F07
tetradic
#070F3F #3F072B #3F3707 #073F1B
square
#070F3F #3F072B #3F3707 #073F1B
split-complementary
#070F3F #3F1B07 #2B3F07
monochromatic
#03071C #03071C #070F3F #0D1C76 #1329AD

Accessibility & contrast

On white

18.27
#070F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F3F
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F3F#FFFFFF#000000##FFFFFF
##070F3F1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070f3f;
/* rgb */ color: rgb(7, 15, 63);
/* oklch */ color: oklch(20.2% 0.091 268.6);
Tailwind
colors: {
  custom: {
    50: '#524d75',
    500: '#070f3f',
    950: '#000000',
  },
}
SCSS
$custom: #070f3f;
$custom-light: #524d75;
$custom-dark: #000000;
JSON
{
  "hex": "#070f3f",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 231.429,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20225,
    "c": 0.09124,
    "h": 268.6
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#070F3F
secondary
#7E7124
accent
#DA31F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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