#01052A#01052A

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

Color values

HEX#01052A
RGBrgb(1, 5, 42)
HSLhsl(234, 95%, 8%)
HSVhsv(234, 98%, 16%)
CMYKcmyk(97.6%, 88.1%, 0%, 83.5%)
CIE-LABlab(2.55, 8.87, -22.65)
CIE-LCHlch(2.55, 24.32, 291.38°)
OKLaboklab(14.75% -0.0059 -0.0765)
OKLCHoklch(14.75% 0.077 265.6)
XYZxyz(0.4846, 0.2821, 2.2189)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01052A #2A2601
analogous
#01192A #01052A #11012A
triadic
#01052A #2A0105 #052A01
tetradic
#01052A #2A0119 #2A2601 #012A11
square
#01052A #2A0119 #2A2601 #012A11
split-complementary
#01052A #2A1101 #192A01
monochromatic
#01041E #01041E #01052A #020C66 #0413A2

Accessibility & contrast

On white

19.88
#01052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01052A
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01052A#FFFFFF#000000##FFFFFF
##01052A1.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000729
Tritanopia (blue-blind)
#000F16
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #01052a;
/* rgb */ color: rgb(1, 5, 42);
/* oklch */ color: oklch(14.8% 0.077 265.6);
Tailwind
colors: {
  custom: {
    50: '#474964',
    500: '#01052a',
    950: '#000000',
  },
}
SCSS
$custom: #01052a;
$custom-light: #474964;
$custom-dark: #000000;
JSON
{
  "hex": "#01052a",
  "rgb": {
    "r": 1,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 234.146,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14752,
    "c": 0.07672,
    "h": 265.6
  },
  "luminance": 0.00282
}

Semantic roles & 50–950 ramp

primary
#01052A
secondary
#706816
accent
#EA29FF
background
#F4F4F5
surface
#E6E6EA
border
#C2C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #01052A

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

Preview Lab → · Contrast checker → · Palette generator →

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