#01052E#01052E

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

Color values

HEX#01052E
RGBrgb(1, 5, 46)
HSLhsl(235, 96%, 9%)
HSVhsv(235, 98%, 18%)
CMYKcmyk(97.8%, 89.1%, 0%, 82%)
CIE-LABlab(2.82, 10.78, -25.25)
CIE-LCHlch(2.82, 27.46, 293.11°)
OKLaboklab(15.32% -0.0064 -0.0826)
OKLCHoklch(15.32% 0.083 265.6)
XYZxyz(0.5598, 0.3122, 2.6150)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01052E #2E2A01
analogous
#011C2E #01052E #14012E
triadic
#01052E #2E0105 #052E01
tetradic
#01052E #2E011C #2E2A01 #012E14
square
#01052E #2E011C #2E2A01 #012E14
split-complementary
#01052E #2E1401 #1C2E01
monochromatic
#01031E #01031E #01052E #020C6A #0412A6

Accessibility & contrast

On white

19.77
#01052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01052E
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01052E#FFFFFF#000000##FFFFFF
##01052E1.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#00082D
Tritanopia (blue-blind)
#001118
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #01052e;
/* rgb */ color: rgb(1, 5, 46);
/* oklch */ color: oklch(15.3% 0.083 265.6);
Tailwind
colors: {
  custom: {
    50: '#484967',
    500: '#01052e',
    950: '#000000',
  },
}
SCSS
$custom: #01052e;
$custom-light: #484967;
$custom-dark: #000000;
JSON
{
  "hex": "#01052e",
  "rgb": {
    "r": 1,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 234.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15321,
    "c": 0.08284,
    "h": 265.6
  },
  "luminance": 0.00312
}

Semantic roles & 50–950 ramp

primary
#01052E
secondary
#746C17
accent
#EC29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #01052E

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

Preview Lab → · Contrast checker → · Palette generator →

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