#000226#000226

#000226 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.0% C 0.078 H 264.1°. Best body text is #FFFFFF at 20.26:1 contrast (WCAG AA passes).

Color values

HEX#000226
RGBrgb(0, 2, 38)
HSLhsl(237, 100%, 7%)
HSVhsv(237, 100%, 15%)
CMYKcmyk(100%, 94.7%, 0%, 85.1%)
CIE-LABlab(1.66, 8.08, -20.97)
CIE-LCHlch(1.66, 22.47, 291.07°)
OKLaboklab(12.98% -0.008 -0.0781)
OKLCHoklch(12.98% 0.078 264.1)
XYZxyz(0.3714, 0.1833, 1.8491)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000226 #262400
analogous
#001526 #000226 #110026
triadic
#000226 #260002 #022600
tetradic
#000226 #260015 #262400 #002611
square
#000226 #260015 #262400 #002611
split-complementary
#000226 #261100 #152600
monochromatic
#00021F #00021F #000226 #000563 #0008A0

Accessibility & contrast

On white

20.26
#000226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #000226
20.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000226#FFFFFF#000000##FFFFFF
##0002261.0020.261.0420.26
#FFFFFF20.261.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #000226;
/* rgb */ color: rgb(0, 2, 38);
/* oklch */ color: oklch(13.0% 0.078 264.1);
Tailwind
colors: {
  custom: {
    50: '#464760',
    500: '#000226',
    950: '#000000',
  },
}
SCSS
$custom: #000226;
$custom-light: #464760;
$custom-dark: #000000;
JSON
{
  "hex": "#000226",
  "rgb": {
    "r": 0,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 236.842,
    "s": 100,
    "l": 7.451
  },
  "oklch": {
    "l": 0.1298,
    "c": 0.07848,
    "h": 264.1
  },
  "luminance": 0.00183
}

Semantic roles & 50–950 ramp

primary
#000226
secondary
#6E6A13
accent
#F429FF
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000005
muted
#777779

Preview Lab

Preview with #000226

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

Preview Lab → · Contrast checker → · Palette generator →

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