#070334#070334

#070334 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.092 H 274.6°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#070334
RGBrgb(7, 3, 52)
HSLhsl(245, 89%, 11%)
HSVhsv(245, 94%, 20%)
CMYKcmyk(86.5%, 94.2%, 0%, 79.6%)
CIE-LABlab(3.24, 16.36, -29.05)
CIE-LCHlch(3.24, 33.34, 299.38°)
OKLaboklab(16.31% 0.0073 -0.0914)
OKLCHoklch(16.31% 0.092 274.6)
XYZxyz(0.7398, 0.3582, 3.2783)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070334 #303403
analogous
#031734 #070334 #1F0334
triadic
#070334 #340703 #033407
tetradic
#070334 #340317 #303403 #03341F
square
#070334 #340317 #303403 #03341F
split-complementary
#070334 #341F03 #173403
monochromatic
#04021D #04021D #070334 #0F066E #170AA8

Accessibility & contrast

On white

19.60
#070334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070334
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070334#FFFFFF#000000##FFFFFF
##0703341.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E35
Deuteranopia (green-blind)
#000933
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #070334;
/* rgb */ color: rgb(7, 3, 52);
/* oklch */ color: oklch(16.3% 0.092 274.6);
Tailwind
colors: {
  custom: {
    50: '#4d476c',
    500: '#070334',
    950: '#000000',
  },
}
SCSS
$custom: #070334;
$custom-light: #4d476c;
$custom-dark: #000000;
JSON
{
  "hex": "#070334",
  "rgb": {
    "r": 7,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 244.898,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16313,
    "c": 0.0917,
    "h": 274.6
  },
  "luminance": 0.00358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #070334

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

Preview Lab → · Contrast checker → · Palette generator →

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