#01052F#01052F

#01052F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.5% C 0.084 H 265.6°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#01052F
RGBrgb(1, 5, 47)
HSLhsl(235, 96%, 9%)
HSVhsv(235, 98%, 18%)
CMYKcmyk(97.9%, 89.4%, 0%, 81.6%)
CIE-LABlab(2.89, 11.28, -25.89)
CIE-LCHlch(2.89, 28.24, 293.54°)
OKLaboklab(15.47% -0.0065 -0.0841)
OKLCHoklch(15.47% 0.084 265.6)
XYZxyz(0.5797, 0.3202, 2.7200)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01052F #2F2B01
analogous
#011C2F #01052F #14012F
triadic
#01052F #2F0105 #052F01
tetradic
#01052F #2F011C #2F2B01 #012F14
square
#01052F #2F011C #2F2B01 #012F14
split-complementary
#01052F #2F1401 #1C2F01
monochromatic
#01031E #01031E #01052F #020B6B #0412A7

Accessibility & contrast

On white

19.74
#01052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#01052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01052F
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01052F#FFFFFF#000000##FFFFFF
##01052F1.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#00082E
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #01052f;
/* rgb */ color: rgb(1, 5, 47);
/* oklch */ color: oklch(15.5% 0.084 265.6);
Tailwind
colors: {
  custom: {
    50: '#484968',
    500: '#01052f',
    950: '#000000',
  },
}
SCSS
$custom: #01052f;
$custom-light: #484968;
$custom-dark: #000000;
JSON
{
  "hex": "#01052f",
  "rgb": {
    "r": 1,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 234.783,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15465,
    "c": 0.08433,
    "h": 265.6
  },
  "luminance": 0.0032
}

Semantic roles & 50–950 ramp

primary
#01052F
secondary
#756D17
accent
#EC29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #01052F

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

Preview Lab → · Contrast checker → · Palette generator →

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