#070D38#070D38

#070D38 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.083 H 269.7°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#070D38
RGBrgb(7, 13, 56)
HSLhsl(233, 78%, 12%)
HSVhsv(233, 88%, 22%)
CMYKcmyk(87.5%, 76.8%, 0%, 78%)
CIE-LABlab(5.59, 14.48, -28.20)
CIE-LCHlch(5.59, 31.70, 297.17°)
OKLaboklab(18.99% -0.0004 -0.083)
OKLCHoklch(18.99% 0.083 269.7)
XYZxyz(0.9451, 0.6184, 3.8102)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D38 #383207
analogous
#072638 #070D38 #1A0738
triadic
#070D38 #38070D #0D3807
tetradic
#070D38 #380726 #383207 #07381A
square
#070D38 #380726 #383207 #07381A
split-complementary
#070D38 #381A07 #263807
monochromatic
#03061B #03061B #070D38 #0E1A6E #1526A5

Accessibility & contrast

On white

18.69
#070D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070D38
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D38#FFFFFF#000000##FFFFFF
##070D381.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001037
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070d38;
/* rgb */ color: rgb(7, 13, 56);
/* oklch */ color: oklch(19.0% 0.083 269.7);
Tailwind
colors: {
  custom: {
    50: '#4f4c6f',
    500: '#070d38',
    950: '#000000',
  },
}
SCSS
$custom: #070d38;
$custom-light: #4f4c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#070d38",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 232.653,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18985,
    "c": 0.08305,
    "h": 269.7
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#070D38
secondary
#786D23
accent
#DD34F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070D38

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

Preview Lab → · Contrast checker → · Palette generator →

#070D38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva