#070C41#070C41

#070C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.098 H 269.5°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#070C41
RGBrgb(7, 12, 65)
HSLhsl(235, 81%, 14%)
HSVhsv(235, 89%, 25%)
CMYKcmyk(89.2%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.23, 19.73, -33.63)
CIE-LCHlch(6.23, 38.99, 300.39°)
OKLaboklab(19.88% -0.0009 -0.0982)
OKLCHoklch(19.88% 0.098 269.5)
XYZxyz(1.1729, 0.6896, 5.0713)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C41 #413C07
analogous
#072941 #070C41 #1F0741
triadic
#070C41 #41070C #0C4107
tetradic
#070C41 #410729 #413C07 #07411F
square
#070C41 #410729 #413C07 #07411F
split-complementary
#070C41 #411F07 #294107
monochromatic
#03051C #03051C #070C41 #0D1678 #1320B0

Accessibility & contrast

On white

18.45
#070C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#070C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070C41
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C41#FFFFFF#000000##FFFFFF
##070C411.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #070c41;
/* rgb */ color: rgb(7, 12, 65);
/* oklch */ color: oklch(19.9% 0.098 269.5);
Tailwind
colors: {
  custom: {
    50: '#534b76',
    500: '#070c41',
    950: '#000000',
  },
}
SCSS
$custom: #070c41;
$custom-light: #534b76;
$custom-dark: #000000;
JSON
{
  "hex": "#070c41",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 234.828,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19876,
    "c": 0.09817,
    "h": 269.5
  },
  "luminance": 0.0069
}

Semantic roles & 50–950 ramp

primary
#070C41
secondary
#807824
accent
#E631F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070C41

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

Preview Lab → · Contrast checker → · Palette generator →

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