#01072F#01072F

#01072F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.0% C 0.081 H 264.9°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#01072F
RGBrgb(1, 7, 47)
HSLhsl(232, 96%, 9%)
HSVhsv(232, 98%, 18%)
CMYKcmyk(97.9%, 85.1%, 0%, 81.6%)
CIE-LABlab(3.28, 10.48, -25.27)
CIE-LCHlch(3.28, 27.35, 292.52°)
OKLaboklab(16% -0.0072 -0.0805)
OKLCHoklch(16% 0.081 264.9)
XYZxyz(0.6014, 0.3636, 2.7272)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01072F #2F2901
analogous
#011E2F #01072F #12012F
triadic
#01072F #2F0107 #072F01
tetradic
#01072F #2F011E #2F2901 #012F12
square
#01072F #2F011E #2F2901 #012F12
split-complementary
#01072F #2F1201 #1E2F01
monochromatic
#01041E #01041E #01072F #02106B #0419A7

Accessibility & contrast

On white

19.57
#01072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01072F
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01072F#FFFFFF#000000##FFFFFF
##01072F1.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#00092E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #01072f;
/* rgb */ color: rgb(1, 7, 47);
/* oklch */ color: oklch(16.0% 0.081 264.9);
Tailwind
colors: {
  custom: {
    50: '#494968',
    500: '#01072f',
    950: '#000000',
  },
}
SCSS
$custom: #01072f;
$custom-light: #494968;
$custom-dark: #000000;
JSON
{
  "hex": "#01072f",
  "rgb": {
    "r": 1,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 232.174,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15996,
    "c": 0.08087,
    "h": 264.9
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#01072F
secondary
#756917
accent
#E329FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #01072F

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

Preview Lab → · Contrast checker → · Palette generator →

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