#070F37#070F37

#070F37 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.079 H 268.7°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#070F37
RGBrgb(7, 15, 55)
HSLhsl(230, 77%, 12%)
HSVhsv(230, 87%, 22%)
CMYKcmyk(87.3%, 72.7%, 0%, 78.4%)
CIE-LABlab(5.99, 12.86, -26.83)
CIE-LCHlch(5.99, 29.75, 295.61°)
OKLaboklab(19.31% -0.0018 -0.0785)
OKLCHoklch(19.31% 0.079 268.7)
XYZxyz(0.9478, 0.6626, 3.6916)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F37 #372F07
analogous
#072737 #070F37 #170737
triadic
#070F37 #37070F #0F3707
tetradic
#070F37 #370727 #372F07 #073717
square
#070F37 #370727 #372F07 #073717
split-complementary
#070F37 #371707 #273707
monochromatic
#03071B #03071B #070F37 #0E1E6D #152DA4

Accessibility & contrast

On white

18.54
#070F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F37
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F37#FFFFFF#000000##FFFFFF
##070F371.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070f37;
/* rgb */ color: rgb(7, 15, 55);
/* oklch */ color: oklch(19.3% 0.079 268.7);
Tailwind
colors: {
  custom: {
    50: '#4f4d6e',
    500: '#070f37',
    950: '#000000',
  },
}
SCSS
$custom: #070f37;
$custom-light: #4f4d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#070f37",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 230,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19315,
    "c": 0.07854,
    "h": 268.7
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#070F37
secondary
#776923
accent
#D434F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070F37

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

Preview Lab → · Contrast checker → · Palette generator →

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