#01072A#01072A

#01072A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.073 H 264.6°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#01072A
RGBrgb(1, 7, 42)
HSLhsl(231, 95%, 8%)
HSVhsv(231, 98%, 16%)
CMYKcmyk(97.6%, 83.3%, 0%, 83.5%)
CIE-LABlab(2.94, 8.07, -22.03)
CIE-LCHlch(2.94, 23.46, 290.11°)
OKLaboklab(15.33% -0.0069 -0.0727)
OKLCHoklch(15.33% 0.073 264.6)
XYZxyz(0.5063, 0.3255, 2.2262)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01072A #2A2401
analogous
#011B2A #01072A #0F012A
triadic
#01072A #2A0107 #072A01
tetradic
#01072A #2A011B #2A2401 #012A0F
square
#01072A #2A011B #2A2401 #012A0F
split-complementary
#01072A #2A0F01 #1B2A01
monochromatic
#01051E #01051E #01072A #021166 #041BA2

Accessibility & contrast

On white

19.71
#01072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#01072A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01072A
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01072A#FFFFFF#000000##FFFFFF
##01072A1.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000929
Tritanopia (blue-blind)
#001017
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #01072a;
/* rgb */ color: rgb(1, 7, 42);
/* oklch */ color: oklch(15.3% 0.073 264.6);
Tailwind
colors: {
  custom: {
    50: '#474a64',
    500: '#01072a',
    950: '#000000',
  },
}
SCSS
$custom: #01072a;
$custom-light: #474a64;
$custom-dark: #000000;
JSON
{
  "hex": "#01072a",
  "rgb": {
    "r": 1,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 231.22,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15333,
    "c": 0.07298,
    "h": 264.6
  },
  "luminance": 0.00326
}

Semantic roles & 50–950 ramp

primary
#01072A
secondary
#706316
accent
#E029FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #01072A

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

Preview Lab → · Contrast checker → · Palette generator →

#01072A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva