#070738#070738

#070738 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.091 H 272.2°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#070738
RGBrgb(7, 7, 56)
HSLhsl(240, 78%, 12%)
HSVhsv(240, 88%, 22%)
CMYKcmyk(87.5%, 87.5%, 0%, 78%)
CIE-LABlab(4.36, 17.12, -30.18)
CIE-LCHlch(4.36, 34.70, 299.57°)
OKLaboklab(17.77% 0.0035 -0.0911)
OKLCHoklch(17.77% 0.091 272.2)
XYZxyz(0.8772, 0.4826, 3.7875)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070738 #383807
analogous
#072038 #070738 #200738
triadic
#070738 #380707 #073807
tetradic
#070738 #380720 #383807 #073820
square
#070738 #380720 #383807 #073820
split-complementary
#070738 #382007 #203807
monochromatic
#03031B #03031B #070738 #0E0E6E #1515A5

Accessibility & contrast

On white

19.15
#070738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#070738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070738
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070738#FFFFFF#000000##FFFFFF
##0707381.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#000D37
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070738;
/* rgb */ color: rgb(7, 7, 56);
/* oklch */ color: oklch(17.8% 0.091 272.2);
Tailwind
colors: {
  custom: {
    50: '#4f496f',
    500: '#070738',
    950: '#000000',
  },
}
SCSS
$custom: #070738;
$custom-light: #4f496f;
$custom-dark: #000000;
JSON
{
  "hex": "#070738",
  "rgb": {
    "r": 7,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 240,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1777,
    "c": 0.09122,
    "h": 272.2
  },
  "luminance": 0.00483
}

Semantic roles & 50–950 ramp

primary
#070738
secondary
#787823
accent
#F434F4
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #070738

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

Preview Lab → · Contrast checker → · Palette generator →

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