#070638#070638

#070638 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.093 H 272.5°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#070638
RGBrgb(7, 6, 56)
HSLhsl(241, 81%, 12%)
HSVhsv(241, 89%, 22%)
CMYKcmyk(87.5%, 89.3%, 0%, 78%)
CIE-LABlab(4.16, 17.53, -30.50)
CIE-LCHlch(4.16, 35.18, 299.89°)
OKLaboklab(17.56% 0.0041 -0.0926)
OKLCHoklch(17.56% 0.093 272.5)
XYZxyz(0.8663, 0.4609, 3.7839)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070638 #373806
analogous
#061E38 #070638 #200638
triadic
#070638 #380706 #063807
tetradic
#070638 #38061E #373806 #063820
square
#070638 #38061E #373806 #063820
split-complementary
#070638 #382006 #1E3806
monochromatic
#03031C #03031C #070638 #0E0C6F #1512A7

Accessibility & contrast

On white

19.23
#070638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#070638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070638
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070638#FFFFFF#000000##FFFFFF
##0706381.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070638;
/* rgb */ color: rgb(7, 6, 56);
/* oklch */ color: oklch(17.6% 0.093 272.5);
Tailwind
colors: {
  custom: {
    50: '#4f486f',
    500: '#070638',
    950: '#000000',
  },
}
SCSS
$custom: #070638;
$custom-light: #4f486f;
$custom-dark: #000000;
JSON
{
  "hex": "#070638",
  "rgb": {
    "r": 7,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 241.2,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17559,
    "c": 0.09266,
    "h": 272.5
  },
  "luminance": 0.00461
}

Semantic roles & 50–950 ramp

primary
#070638
secondary
#777821
accent
#F731F3
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #070638

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

Preview Lab → · Contrast checker → · Palette generator →

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