#04223A#04223A

#04223A is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.058 H 246.8°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#04223A
RGBrgb(4, 34, 58)
HSLhsl(207, 87%, 12%)
HSVhsv(207, 93%, 23%)
CMYKcmyk(93.1%, 41.4%, 0%, 77.3%)
CIE-LABlab(12.45, -0.49, -18.60)
CIE-LCHlch(12.45, 18.61, 268.50°)
OKLaboklab(24.46% -0.0227 -0.053)
OKLCHoklch(24.46% 0.058 246.8)
XYZxyz(1.3855, 1.4752, 4.2139)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04223A #3A1C04
analogous
#043A37 #04223A #04073A
triadic
#04223A #3A0422 #223A04
tetradic
#04223A #37043A #3A1C04 #073A04
square
#04223A #37043A #3A1C04 #073A04
split-complementary
#04223A #3A0407 #3A3704
monochromatic
#02111D #02111D #04223A #084473 #0C65AD

Accessibility & contrast

On white

16.22
#04223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#04223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04223A
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04223A#FFFFFF#000000##FFFFFF
##04223A1.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233B
Deuteranopia (green-blind)
#0E1E3A
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #04223a;
/* rgb */ color: rgb(4, 34, 58);
/* oklch */ color: oklch(24.5% 0.058 246.8);
Tailwind
colors: {
  custom: {
    50: '#4e5c70',
    500: '#04223a',
    950: '#000000',
  },
}
SCSS
$custom: #04223a;
$custom-light: #4e5c70;
$custom-dark: #000000;
JSON
{
  "hex": "#04223a",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 206.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24456,
    "c": 0.05767,
    "h": 246.8
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#04223A
secondary
#7C481E
accent
#882BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #04223A

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

Preview Lab → · Contrast checker → · Palette generator →

#04223A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva