#070336#070336

#070336 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.094 H 274.0°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#070336
RGBrgb(7, 3, 54)
HSLhsl(245, 89%, 11%)
HSVhsv(245, 94%, 21%)
CMYKcmyk(87%, 94.4%, 0%, 78.8%)
CIE-LABlab(3.40, 17.53, -30.26)
CIE-LCHlch(3.40, 34.97, 300.08°)
OKLaboklab(16.6% 0.0066 -0.0943)
OKLCHoklch(16.6% 0.094 274)
XYZxyz(0.7858, 0.3766, 3.5206)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070336 #323603
analogous
#031836 #070336 #200336
triadic
#070336 #360703 #033607
tetradic
#070336 #360318 #323603 #033620
square
#070336 #360318 #323603 #033620
split-complementary
#070336 #362003 #183603
monochromatic
#04021D #04021D #070336 #0F0670 #1609AA

Accessibility & contrast

On white

19.53
#070336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#070336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070336
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070336#FFFFFF#000000##FFFFFF
##0703361.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F37
Deuteranopia (green-blind)
#000A35
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #070336;
/* rgb */ color: rgb(7, 3, 54);
/* oklch */ color: oklch(16.6% 0.094 274.0);
Tailwind
colors: {
  custom: {
    50: '#4e476e',
    500: '#070336',
    950: '#000000',
  },
}
SCSS
$custom: #070336;
$custom-light: #4e476e;
$custom-dark: #000000;
JSON
{
  "hex": "#070336",
  "rgb": {
    "r": 7,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 244.706,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.16604,
    "c": 0.09449,
    "h": 274
  },
  "luminance": 0.00377
}

Semantic roles & 50–950 ramp

primary
#070336
secondary
#72791C
accent
#FF29EE
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #070336

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

Preview Lab → · Contrast checker → · Palette generator →

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