#070126#070126

#070126 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.7% C 0.076 H 281.7°. Best body text is #FFFFFF at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#070126
RGBrgb(7, 1, 38)
HSLhsl(250, 95%, 8%)
HSVhsv(250, 97%, 15%)
CMYKcmyk(81.6%, 97.4%, 0%, 85.1%)
CIE-LABlab(1.87, 10.31, -20.61)
CIE-LCHlch(1.87, 23.04, 296.58°)
OKLaboklab(13.68% 0.0154 -0.0748)
OKLCHoklch(13.68% 0.076 281.7)
XYZxyz(0.4482, 0.2068, 1.8496)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070126 #202601
analogous
#010D26 #070126 #190126
triadic
#070126 #260701 #012607
tetradic
#070126 #26010D #202601 #012619
square
#070126 #26010D #202601 #012619
split-complementary
#070126 #261901 #0D2601
monochromatic
#05011E #05011E #070126 #120362 #1D049D

Accessibility & contrast

On white

20.17
#070126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#070126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070126
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070126#FFFFFF#000000##FFFFFF
##0701261.0020.171.0420.17
#FFFFFF20.171.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000827
Deuteranopia (green-blind)
#000625
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #070126;
/* rgb */ color: rgb(7, 1, 38);
/* oklch */ color: oklch(13.7% 0.076 281.7);
Tailwind
colors: {
  custom: {
    50: '#4a4760',
    500: '#070126',
    950: '#000000',
  },
}
SCSS
$custom: #070126;
$custom-light: #4a4760;
$custom-dark: #000000;
JSON
{
  "hex": "#070126",
  "rgb": {
    "r": 7,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 249.73,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13676,
    "c": 0.07638,
    "h": 281.7
  },
  "luminance": 0.00207
}

Semantic roles & 50–950 ramp

primary
#070126
secondary
#5F6D16
accent
#FF29DC
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #070126

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

Preview Lab → · Contrast checker → · Palette generator →

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