#070F41#070F41

#070F41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.094 H 268.5°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#070F41
RGBrgb(7, 15, 65)
HSLhsl(232, 81%, 14%)
HSVhsv(232, 89%, 25%)
CMYKcmyk(89.2%, 76.9%, 0%, 74.5%)
CIE-LABlab(6.94, 17.94, -32.47)
CIE-LCHlch(6.94, 37.10, 298.93°)
OKLaboklab(20.46% -0.0025 -0.0943)
OKLCHoklch(20.46% 0.094 268.5)
XYZxyz(1.2123, 0.7683, 5.0844)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F41 #413907
analogous
#072C41 #070F41 #1C0741
triadic
#070F41 #41070F #0F4107
tetradic
#070F41 #41072C #413907 #07411C
square
#070F41 #41072C #413907 #07411C
split-complementary
#070F41 #411C07 #2C4107
monochromatic
#03061C #03061C #070F41 #0D1C78 #1329B0

Accessibility & contrast

On white

18.20
#070F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#070F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F41
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F41#FFFFFF#000000##FFFFFF
##070F411.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #070f41;
/* rgb */ color: rgb(7, 15, 65);
/* oklch */ color: oklch(20.5% 0.094 268.5);
Tailwind
colors: {
  custom: {
    50: '#534d76',
    500: '#070f41',
    950: '#000000',
  },
}
SCSS
$custom: #070f41;
$custom-light: #534d76;
$custom-dark: #000000;
JSON
{
  "hex": "#070f41",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 231.724,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20461,
    "c": 0.09431,
    "h": 268.5
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#070F41
secondary
#807324
accent
#DC31F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070F41

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

Preview Lab → · Contrast checker → · Palette generator →

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