#070C33#070C33

#070C33 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.076 H 270.6°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#070C33
RGBrgb(7, 12, 51)
HSLhsl(233, 76%, 11%)
HSVhsv(233, 86%, 20%)
CMYKcmyk(86.3%, 76.5%, 0%, 80%)
CIE-LABlab(4.94, 12.15, -25.58)
CIE-LCHlch(4.94, 28.31, 295.40°)
OKLaboklab(18.19% 0.0008 -0.0764)
OKLCHoklch(18.19% 0.076 270.6)
XYZxyz(0.8164, 0.5470, 3.1939)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C33 #332E07
analogous
#072233 #070C33 #180733
triadic
#070C33 #33070C #0C3307
tetradic
#070C33 #330722 #332E07 #073318
square
#070C33 #330722 #332E07 #073318
split-complementary
#070C33 #331807 #223307
monochromatic
#04061B #04061B #070C33 #0E1969 #16259F

Accessibility & contrast

On white

18.93
#070C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070C33
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C33#FFFFFF#000000##FFFFFF
##070C331.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#000F32
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070c33;
/* rgb */ color: rgb(7, 12, 51);
/* oklch */ color: oklch(18.2% 0.076 270.6);
Tailwind
colors: {
  custom: {
    50: '#4d4c6b',
    500: '#070c33',
    950: '#000000',
  },
}
SCSS
$custom: #070c33;
$custom-light: #4d4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#070c33",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 233.182,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1819,
    "c": 0.07642,
    "h": 270.6
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#070C33
secondary
#736A23
accent
#DD35F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #070C33

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

Preview Lab → · Contrast checker → · Palette generator →

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