#010226#010226

#010226 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.1% C 0.077 H 267.0°. Best body text is #FFFFFF at 20.23:1 contrast (WCAG AA passes).

Color values

HEX#010226
RGBrgb(1, 2, 38)
HSLhsl(238, 95%, 8%)
HSVhsv(238, 97%, 15%)
CMYKcmyk(97.4%, 94.7%, 0%, 85.1%)
CIE-LABlab(1.71, 8.34, -20.87)
CIE-LCHlch(1.71, 22.48, 291.78°)
OKLaboklab(13.14% -0.0041 -0.0772)
OKLCHoklch(13.14% 0.077 267)
XYZxyz(0.3840, 0.1898, 1.8497)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010226 #262501
analogous
#011526 #010226 #120126
triadic
#010226 #260102 #022601
tetradic
#010226 #260115 #262501 #012612
square
#010226 #260115 #262501 #012612
split-complementary
#010226 #261201 #152601
monochromatic
#01021E #01021E #010226 #030562 #04089D

Accessibility & contrast

On white

20.23
#010226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010226
20.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010226#FFFFFF#000000##FFFFFF
##0102261.0020.231.0420.23
#FFFFFF20.231.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000827
Deuteranopia (green-blind)
#000525
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #010226;
/* rgb */ color: rgb(1, 2, 38);
/* oklch */ color: oklch(13.1% 0.077 267.0);
Tailwind
colors: {
  custom: {
    50: '#474760',
    500: '#010226',
    950: '#000000',
  },
}
SCSS
$custom: #010226;
$custom-light: #474760;
$custom-dark: #000000;
JSON
{
  "hex": "#010226",
  "rgb": {
    "r": 1,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 238.378,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13142,
    "c": 0.07733,
    "h": 267
  },
  "luminance": 0.0019
}

Semantic roles & 50–950 ramp

primary
#010226
secondary
#6D6A16
accent
#F929FF
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000005
muted
#777779

Preview Lab

Preview with #010226

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

Preview Lab → · Contrast checker → · Palette generator →

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