#070C30#070C30

#070C30 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.071 H 270.7°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#070C30
RGBrgb(7, 12, 48)
HSLhsl(233, 75%, 11%)
HSVhsv(233, 85%, 19%)
CMYKcmyk(85.4%, 75%, 0%, 81.2%)
CIE-LABlab(4.71, 10.52, -23.72)
CIE-LCHlch(4.71, 25.95, 293.92°)
OKLaboklab(17.85% 0.0009 -0.0715)
OKLCHoklch(17.85% 0.071 270.7)
XYZxyz(0.7524, 0.5214, 2.8567)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C30 #302B07
analogous
#072030 #070C30 #160730
triadic
#070C30 #30070C #0C3007
tetradic
#070C30 #300720 #302B07 #073016
square
#070C30 #300720 #302B07 #073016
split-complementary
#070C30 #301607 #203007
monochromatic
#04071B #04071B #070C30 #0F1965 #17279B

Accessibility & contrast

On white

19.01
#070C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#070C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070C30
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C30#FFFFFF#000000##FFFFFF
##070C301.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#000E2F
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070c30;
/* rgb */ color: rgb(7, 12, 48);
/* oklch */ color: oklch(17.9% 0.071 270.7);
Tailwind
colors: {
  custom: {
    50: '#4c4c68',
    500: '#070c30',
    950: '#000000',
  },
}
SCSS
$custom: #070c30;
$custom-light: #4c4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#070c30",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 232.683,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17852,
    "c": 0.07147,
    "h": 270.7
  },
  "luminance": 0.00522
}

Semantic roles & 50–950 ramp

primary
#070C30
secondary
#706623
accent
#DA37F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070C30

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

Preview Lab → · Contrast checker → · Palette generator →

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