#071247#071247

#071247 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.099 H 267.3°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#071247
RGBrgb(7, 18, 71)
HSLhsl(230, 82%, 15%)
HSVhsv(230, 90%, 28%)
CMYKcmyk(90.1%, 74.6%, 0%, 72.2%)
CIE-LABlab(8.42, 18.51, -34.28)
CIE-LCHlch(8.42, 38.96, 298.36°)
OKLaboklab(21.78% -0.0046 -0.0993)
OKLCHoklch(21.78% 0.099 267.3)
XYZxyz(1.4409, 0.9325, 6.0641)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071247 #473C07
analogous
#073247 #071247 #1C0747
triadic
#071247 #470712 #124707
tetradic
#071247 #470732 #473C07 #07471C
square
#071247 #470732 #473C07 #07471C
split-complementary
#071247 #471C07 #324707
monochromatic
#03071C #03071C #071247 #0C207F #122EB6

Accessibility & contrast

On white

17.70
#071247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#071247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071247
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071247#FFFFFF#000000##FFFFFF
##0712471.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #071247;
/* rgb */ color: rgb(7, 18, 71);
/* oklch */ color: oklch(21.8% 0.099 267.3);
Tailwind
colors: {
  custom: {
    50: '#544f7b',
    500: '#071247',
    950: '#000000',
  },
}
SCSS
$custom: #071247;
$custom-light: #544f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#071247",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 229.688,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2178,
    "c": 0.09941,
    "h": 267.3
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#071247
secondary
#867524
accent
#D62FF8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #071247

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

Preview Lab → · Contrast checker → · Palette generator →

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