#070335#070335

#070335 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.093 H 274.3°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#070335
RGBrgb(7, 3, 53)
HSLhsl(245, 89%, 11%)
HSVhsv(245, 94%, 21%)
CMYKcmyk(86.8%, 94.3%, 0%, 79.2%)
CIE-LABlab(3.32, 16.94, -29.66)
CIE-LCHlch(3.32, 34.16, 299.73°)
OKLaboklab(16.46% 0.0069 -0.0928)
OKLCHoklch(16.46% 0.093 274.3)
XYZxyz(0.7626, 0.3673, 3.3982)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070335 #313503
analogous
#031835 #070335 #200335
triadic
#070335 #350703 #033507
tetradic
#070335 #350318 #313503 #033520
square
#070335 #350318 #313503 #033520
split-complementary
#070335 #352003 #183503
monochromatic
#04021D #04021D #070335 #0F066F #160AA9

Accessibility & contrast

On white

19.56
#070335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#070335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070335
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070335#FFFFFF#000000##FFFFFF
##0703351.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070335;
/* rgb */ color: rgb(7, 3, 53);
/* oklch */ color: oklch(16.5% 0.093 274.3);
Tailwind
colors: {
  custom: {
    50: '#4e476d',
    500: '#070335',
    950: '#000000',
  },
}
SCSS
$custom: #070335;
$custom-light: #4e476d;
$custom-dark: #000000;
JSON
{
  "hex": "#070335",
  "rgb": {
    "r": 7,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 244.8,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.16458,
    "c": 0.0931,
    "h": 274.3
  },
  "luminance": 0.00367
}

Semantic roles & 50–950 ramp

primary
#070335
secondary
#71781C
accent
#FF29EE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #070335

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

Preview Lab → · Contrast checker → · Palette generator →

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