#071246#071246

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

Color values

HEX#071246
RGBrgb(7, 18, 70)
HSLhsl(230, 82%, 15%)
HSVhsv(230, 90%, 27%)
CMYKcmyk(90%, 74.3%, 0%, 72.5%)
CIE-LABlab(8.30, 18.07, -33.76)
CIE-LCHlch(8.30, 38.29, 298.15°)
OKLaboklab(21.67% -0.0046 -0.0978)
OKLCHoklch(21.67% 0.098 267.3)
XYZxyz(1.4090, 0.9198, 5.8964)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071246 #463B07
analogous
#073146 #071246 #1C0746
triadic
#071246 #460712 #124607
tetradic
#071246 #460731 #463B07 #07461C
square
#071246 #460731 #463B07 #07461C
split-complementary
#071246 #461C07 #314607
monochromatic
#03071C #03071C #071246 #0D207E #122FB5

Accessibility & contrast

On white

17.74
#071246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#071246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071246
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071246#FFFFFF#000000##FFFFFF
##0712461.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #071246;
/* rgb */ color: rgb(7, 18, 70);
/* oklch */ color: oklch(21.7% 0.098 267.3);
Tailwind
colors: {
  custom: {
    50: '#544f7a',
    500: '#071246',
    950: '#000000',
  },
}
SCSS
$custom: #071246;
$custom-light: #544f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#071246",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 229.524,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21665,
    "c": 0.0979,
    "h": 267.3
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#071246
secondary
#857424
accent
#D530F8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #071246

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

Preview Lab → · Contrast checker → · Palette generator →

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