#070941#070941

#070941 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.102 H 270.3°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#070941
RGBrgb(7, 9, 65)
HSLhsl(238, 81%, 14%)
HSVhsv(238, 89%, 25%)
CMYKcmyk(89.2%, 86.2%, 0%, 74.5%)
CIE-LABlab(5.62, 21.24, -34.63)
CIE-LCHlch(5.62, 40.62, 301.52°)
OKLaboklab(19.35% 0.0005 -0.1017)
OKLCHoklch(19.35% 0.102 270.3)
XYZxyz(1.1391, 0.6221, 5.0600)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070941 #413F07
analogous
#072641 #070941 #220741
triadic
#070941 #410709 #094107
tetradic
#070941 #410726 #413F07 #074122
square
#070941 #410726 #413F07 #074122
split-complementary
#070941 #412207 #264107
monochromatic
#03041C #03041C #070941 #0D1178 #1318B0

Accessibility & contrast

On white

18.68
#070941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070941
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070941#FFFFFF#000000##FFFFFF
##0709411.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070941;
/* rgb */ color: rgb(7, 9, 65);
/* oklch */ color: oklch(19.3% 0.102 270.3);
Tailwind
colors: {
  custom: {
    50: '#534976',
    500: '#070941',
    950: '#000000',
  },
}
SCSS
$custom: #070941;
$custom-light: #534976;
$custom-dark: #000000;
JSON
{
  "hex": "#070941",
  "rgb": {
    "r": 7,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 237.931,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19345,
    "c": 0.10173,
    "h": 270.3
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#070941
secondary
#807D24
accent
#F031F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070941

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

Preview Lab → · Contrast checker → · Palette generator →

#070941 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva