#01082A#01082A

#01082A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.071 H 264.0°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#01082A
RGBrgb(1, 8, 42)
HSLhsl(230, 95%, 8%)
HSVhsv(230, 98%, 16%)
CMYKcmyk(97.6%, 81%, 0%, 83.5%)
CIE-LABlab(3.14, 7.66, -21.72)
CIE-LCHlch(3.14, 23.04, 289.43°)
OKLaboklab(15.61% -0.0075 -0.0708)
OKLCHoklch(15.61% 0.071 264)
XYZxyz(0.5171, 0.3472, 2.2298)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01082A #2A2301
analogous
#011C2A #01082A #0E012A
triadic
#01082A #2A0108 #082A01
tetradic
#01082A #2A011C #2A2301 #012A0E
square
#01082A #2A011C #2A2301 #012A0E
split-complementary
#01082A #2A0E01 #1C2A01
monochromatic
#01061E #01061E #01082A #021366 #041FA2

Accessibility & contrast

On white

19.64
#01082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01082A
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01082A#FFFFFF#000000##FFFFFF
##01082A1.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #01082a;
/* rgb */ color: rgb(1, 8, 42);
/* oklch */ color: oklch(15.6% 0.071 264.0);
Tailwind
colors: {
  custom: {
    50: '#474a64',
    500: '#01082a',
    950: '#000000',
  },
}
SCSS
$custom: #01082a;
$custom-light: #474a64;
$custom-dark: #000000;
JSON
{
  "hex": "#01082a",
  "rgb": {
    "r": 1,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 229.756,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15608,
    "c": 0.07123,
    "h": 264
  },
  "luminance": 0.00347
}

Semantic roles & 50–950 ramp

primary
#01082A
secondary
#706116
accent
#DA29FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #01082A

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

Preview Lab → · Contrast checker → · Palette generator →

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