#00022C#00022C

#00022C is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.0% C 0.087 H 264.2°. Best body text is #FFFFFF at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#00022C
RGBrgb(0, 2, 44)
HSLhsl(237, 100%, 9%)
HSVhsv(237, 100%, 17%)
CMYKcmyk(100%, 95.5%, 0%, 82.7%)
CIE-LABlab(2.03, 10.74, -24.99)
CIE-LCHlch(2.03, 27.20, 293.26°)
OKLaboklab(13.96% -0.0088 -0.0865)
OKLCHoklch(13.96% 0.087 264.2)
XYZxyz(0.4762, 0.2252, 2.4008)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00022C #2C2A00
analogous
#00182C #00022C #14002C
triadic
#00022C #2C0002 #022C00
tetradic
#00022C #2C0018 #2C2A00 #002C14
square
#00022C #2C0018 #2C2A00 #002C14
split-complementary
#00022C #2C1400 #182C00
monochromatic
#00011F #00011F #00022C #000569 #0008A6

Accessibility & contrast

On white

20.10
#00022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#00022C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #00022C
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00022C#FFFFFF#000000##FFFFFF
##00022C1.0020.101.0520.10
#FFFFFF20.101.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2D
Deuteranopia (green-blind)
#00052B
Tritanopia (blue-blind)
#000E16
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #00022c;
/* rgb */ color: rgb(0, 2, 44);
/* oklch */ color: oklch(14.0% 0.087 264.2);
Tailwind
colors: {
  custom: {
    50: '#474765',
    500: '#00022c',
    950: '#000000',
  },
}
SCSS
$custom: #00022c;
$custom-light: #474765;
$custom-dark: #000000;
JSON
{
  "hex": "#00022c",
  "rgb": {
    "r": 0,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 237.273,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.13964,
    "c": 0.08698,
    "h": 264.2
  },
  "luminance": 0.00225
}

Semantic roles & 50–950 ramp

primary
#00022C
secondary
#736F14
accent
#F529FF
background
#F4F3F6
surface
#E6E5EB
border
#C2C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #00022C

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

Preview Lab → · Contrast checker → · Palette generator →

#00022C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva