#06023B#06023B

#06023B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.103 H 271.8°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#06023B
RGBrgb(6, 2, 59)
HSLhsl(244, 93%, 12%)
HSVhsv(244, 97%, 23%)
CMYKcmyk(89.8%, 96.6%, 0%, 76.9%)
CIE-LABlab(3.59, 20.78, -33.62)
CIE-LCHlch(3.59, 39.52, 301.72°)
OKLaboklab(17.02% 0.0033 -0.1032)
OKLCHoklch(17.02% 0.103 271.8)
XYZxyz(0.8860, 0.3978, 4.1669)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06023B #373B02
analogous
#021B3B #06023B #23023B
triadic
#06023B #3B0602 #023B06
tetradic
#06023B #3B021B #373B02 #023B23
square
#06023B #3B021B #373B02 #023B23
split-complementary
#06023B #3B2302 #1B3B02
monochromatic
#03011E #03011E #06023B #0C0476 #1206B1

Accessibility & contrast

On white

19.45
#06023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#06023B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06023B
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06023B#FFFFFF#000000##FFFFFF
##06023B1.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103D
Deuteranopia (green-blind)
#000A3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #06023b;
/* rgb */ color: rgb(6, 2, 59);
/* oklch */ color: oklch(17.0% 0.103 271.8);
Tailwind
colors: {
  custom: {
    50: '#504672',
    500: '#06023b',
    950: '#000000',
  },
}
SCSS
$custom: #06023b;
$custom-light: #504672;
$custom-dark: #000000;
JSON
{
  "hex": "#06023b",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 244.211,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17024,
    "c": 0.10326,
    "h": 271.8
  },
  "luminance": 0.00398
}

Semantic roles & 50–950 ramp

primary
#06023B
secondary
#777E1A
accent
#FF29F0
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #06023B

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

Preview Lab → · Contrast checker → · Palette generator →

#06023B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva