#010223#010223

#010223 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.7% C 0.073 H 267.3°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#010223
RGBrgb(1, 2, 35)
HSLhsl(238, 94%, 7%)
HSVhsv(238, 97%, 14%)
CMYKcmyk(97.1%, 94.3%, 0%, 86.3%)
CIE-LABlab(1.55, 7.16, -18.79)
CIE-LCHlch(1.55, 20.10, 290.86°)
OKLaboklab(12.67% -0.0035 -0.0728)
OKLCHoklch(12.67% 0.073 267.3)
XYZxyz(0.3375, 0.1712, 1.6050)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010223 #232201
analogous
#011323 #010223 #110123
triadic
#010223 #230102 #022301
tetradic
#010223 #230113 #232201 #012311
square
#010223 #230113 #232201 #012311
split-complementary
#010223 #231101 #132301
monochromatic
#01021E #01021E #010223 #03055F #04099A

Accessibility & contrast

On white

20.31
#010223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#010223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010223
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010223#FFFFFF#000000##FFFFFF
##0102231.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #010223;
/* rgb */ color: rgb(1, 2, 35);
/* oklch */ color: oklch(12.7% 0.073 267.3);
Tailwind
colors: {
  custom: {
    50: '#46485e',
    500: '#010223',
    950: '#000000',
  },
}
SCSS
$custom: #010223;
$custom-light: #46485e;
$custom-dark: #000000;
JSON
{
  "hex": "#010223",
  "rgb": {
    "r": 1,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 238.235,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.12665,
    "c": 0.07285,
    "h": 267.3
  },
  "luminance": 0.00171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #010223

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

Preview Lab → · Contrast checker → · Palette generator →

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