#070C37#070C37

#070C37 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.083 H 270.3°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#070C37
RGBrgb(7, 12, 55)
HSLhsl(234, 77%, 12%)
HSVhsv(234, 87%, 22%)
CMYKcmyk(87.3%, 78.2%, 0%, 78.4%)
CIE-LABlab(5.27, 14.41, -27.97)
CIE-LCHlch(5.27, 31.47, 297.25°)
OKLaboklab(18.66% 0.0004 -0.0829)
OKLCHoklch(18.66% 0.083 270.3)
XYZxyz(0.9084, 0.5839, 3.6785)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C37 #373207
analogous
#072437 #070C37 #1A0737
triadic
#070C37 #37070C #0C3707
tetradic
#070C37 #370724 #373207 #07371A
square
#070C37 #370724 #373207 #07371A
split-complementary
#070C37 #371A07 #243707
monochromatic
#03061B #03061B #070C37 #0E186D #1524A4

Accessibility & contrast

On white

18.80
#070C37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070C37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070C37
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C37#FFFFFF#000000##FFFFFF
##070C371.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070c37;
/* rgb */ color: rgb(7, 12, 55);
/* oklch */ color: oklch(18.7% 0.083 270.3);
Tailwind
colors: {
  custom: {
    50: '#4f4b6e',
    500: '#070c37',
    950: '#000000',
  },
}
SCSS
$custom: #070c37;
$custom-light: #4f4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#070c37",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 55
  },
  "hsl": {
    "h": 233.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18655,
    "c": 0.08286,
    "h": 270.3
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#070C37
secondary
#776E23
accent
#E034F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070C37

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

Preview Lab → · Contrast checker → · Palette generator →

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