#071038#071038

#071038 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.079 H 268.1°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#071038
RGBrgb(7, 16, 56)
HSLhsl(229, 78%, 12%)
HSVhsv(229, 88%, 22%)
CMYKcmyk(87.5%, 71.4%, 0%, 78%)
CIE-LABlab(6.33, 12.80, -26.99)
CIE-LCHlch(6.33, 29.87, 295.37°)
OKLaboklab(19.66% -0.0027 -0.0786)
OKLCHoklch(19.66% 0.079 268.1)
XYZxyz(0.9865, 0.7012, 3.8240)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071038 #382F07
analogous
#072838 #071038 #170738
triadic
#071038 #380710 #103807
tetradic
#071038 #380728 #382F07 #073817
square
#071038 #380728 #382F07 #073817
split-complementary
#071038 #381707 #283807
monochromatic
#03081B #03081B #071038 #0E206E #152FA5

Accessibility & contrast

On white

18.42
#071038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#071038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071038
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071038#FFFFFF#000000##FFFFFF
##0710381.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #071038;
/* rgb */ color: rgb(7, 16, 56);
/* oklch */ color: oklch(19.7% 0.079 268.1);
Tailwind
colors: {
  custom: {
    50: '#4f4e6f',
    500: '#071038',
    950: '#000000',
  },
}
SCSS
$custom: #071038;
$custom-light: #4f4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#071038",
  "rgb": {
    "r": 7,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 228.98,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19655,
    "c": 0.07869,
    "h": 268.1
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#071038
secondary
#786823
accent
#D134F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #071038

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

Preview Lab → · Contrast checker → · Palette generator →

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