#070338#070338

#070338 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.097 H 273.5°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#070338
RGBrgb(7, 3, 56)
HSLhsl(245, 90%, 12%)
HSVhsv(245, 95%, 22%)
CMYKcmyk(87.5%, 94.6%, 0%, 78%)
CIE-LABlab(3.57, 18.75, -31.46)
CIE-LCHlch(3.57, 36.62, 300.80°)
OKLaboklab(16.9% 0.0059 -0.0971)
OKLCHoklch(16.9% 0.097 273.5)
XYZxyz(0.8338, 0.3957, 3.7731)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070338 #343803
analogous
#031A38 #070338 #220338
triadic
#070338 #380703 #033807
tetradic
#070338 #38031A #343803 #033822
square
#070338 #38031A #343803 #033822
split-complementary
#070338 #382203 #1A3803
monochromatic
#04021D #04021D #070338 #0E0672 #1609AC

Accessibility & contrast

On white

19.46
#070338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070338
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070338#FFFFFF#000000##FFFFFF
##0703381.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F39
Deuteranopia (green-blind)
#000A37
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #070338;
/* rgb */ color: rgb(7, 3, 56);
/* oklch */ color: oklch(16.9% 0.097 273.5);
Tailwind
colors: {
  custom: {
    50: '#4f476f',
    500: '#070338',
    950: '#000000',
  },
}
SCSS
$custom: #070338;
$custom-light: #4f476f;
$custom-dark: #000000;
JSON
{
  "hex": "#070338",
  "rgb": {
    "r": 7,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 244.528,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.16896,
    "c": 0.09724,
    "h": 273.5
  },
  "luminance": 0.00396
}

Semantic roles & 50–950 ramp

primary
#070338
secondary
#747B1C
accent
#FF29EF
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #070338

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

Preview Lab → · Contrast checker → · Palette generator →

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