#010224#010224

#010224 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.8% C 0.074 H 267.2°. Best body text is #FFFFFF at 20.28:1 contrast (WCAG AA passes).

Color values

HEX#010224
RGBrgb(1, 2, 36)
HSLhsl(238, 95%, 7%)
HSVhsv(238, 97%, 14%)
CMYKcmyk(97.2%, 94.4%, 0%, 85.9%)
CIE-LABlab(1.60, 7.54, -19.49)
CIE-LCHlch(1.60, 20.90, 291.16°)
OKLaboklab(12.82% -0.0037 -0.0743)
OKLCHoklch(12.82% 0.074 267.2)
XYZxyz(0.3526, 0.1772, 1.6843)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010224 #242301
analogous
#011424 #010224 #120124
triadic
#010224 #240102 #022401
tetradic
#010224 #240114 #242301 #012412
square
#010224 #240114 #242301 #012412
split-complementary
#010224 #241201 #142401
monochromatic
#01021E #01021E #010224 #030560 #04099B

Accessibility & contrast

On white

20.28
#010224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#010224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010224
20.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010224#FFFFFF#000000##FFFFFF
##0102241.0020.281.0420.28
#FFFFFF20.281.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000725
Deuteranopia (green-blind)
#000423
Tritanopia (blue-blind)
#000A11
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #010224;
/* rgb */ color: rgb(1, 2, 36);
/* oklch */ color: oklch(12.8% 0.074 267.2);
Tailwind
colors: {
  custom: {
    50: '#46475e',
    500: '#010224',
    950: '#000000',
  },
}
SCSS
$custom: #010224;
$custom-light: #46475e;
$custom-dark: #000000;
JSON
{
  "hex": "#010224",
  "rgb": {
    "r": 1,
    "g": 2,
    "b": 36
  },
  "hsl": {
    "h": 238.286,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.12824,
    "c": 0.07436,
    "h": 267.2
  },
  "luminance": 0.00177
}

Semantic roles & 50–950 ramp

primary
#010224
secondary
#6B6916
accent
#F929FF
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000004
muted
#777779

Preview Lab

Preview with #010224

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

Preview Lab → · Contrast checker → · Palette generator →

#010224 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva