#060223#060223

#060223 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.5% C 0.070 H 280.4°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#060223
RGBrgb(6, 2, 35)
HSLhsl(247, 89%, 7%)
HSVhsv(247, 94%, 14%)
CMYKcmyk(82.9%, 94.3%, 0%, 86.3%)
CIE-LABlab(1.84, 8.47, -18.31)
CIE-LCHlch(1.84, 20.18, 294.81°)
OKLaboklab(13.45% 0.0126 -0.0685)
OKLCHoklch(13.45% 0.07 280.4)
XYZxyz(0.4001, 0.2035, 1.6080)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060223 #1F2302
analogous
#020F23 #060223 #170223
triadic
#060223 #230602 #022306
tetradic
#060223 #23020F #1F2302 #022317
square
#060223 #23020F #1F2302 #022317
split-complementary
#060223 #231702 #0F2302
monochromatic
#05021D #05021D #060223 #10055D #1A0997

Accessibility & contrast

On white

20.18
#060223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060223
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060223#FFFFFF#000000##FFFFFF
##0602231.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000824
Deuteranopia (green-blind)
#000622
Tritanopia (blue-blind)
#000A11
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #060223;
/* rgb */ color: rgb(6, 2, 35);
/* oklch */ color: oklch(13.5% 0.070 280.4);
Tailwind
colors: {
  custom: {
    50: '#49475e',
    500: '#060223',
    950: '#000000',
  },
}
SCSS
$custom: #060223;
$custom-light: #49475e;
$custom-dark: #000000;
JSON
{
  "hex": "#060223",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 247.273,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.13454,
    "c": 0.06964,
    "h": 280.4
  },
  "luminance": 0.00203
}

Semantic roles & 50–950 ramp

primary
#060223
secondary
#5F6918
accent
#FF29E5
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #060223

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

Preview Lab → · Contrast checker → · Palette generator →

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