#06102A#06102A

#06102A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.055 H 264.8°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#06102A
RGBrgb(6, 16, 42)
HSLhsl(223, 75%, 9%)
HSVhsv(223, 86%, 16%)
CMYKcmyk(85.7%, 61.9%, 0%, 83.5%)
CIE-LABlab(5.21, 5.34, -18.45)
CIE-LCHlch(5.21, 19.20, 286.14°)
OKLaboklab(18.16% -0.005 -0.055)
OKLCHoklch(18.16% 0.055 264.8)
XYZxyz(0.6782, 0.5764, 2.2656)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06102A #2A2006
analogous
#06222A #06102A #0E062A
triadic
#06102A #2A0610 #102A06
tetradic
#06102A #2A0622 #2A2006 #062A0E
square
#06102A #2A0622 #2A2006 #062A0E
split-complementary
#06102A #2A0E06 #222A06
monochromatic
#040A1B #040A1B #06102A #0E2460 #153995

Accessibility & contrast

On white

18.83
#06102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#06102A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06102A
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06102A#FFFFFF#000000##FFFFFF
##06102A1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #06102a;
/* rgb */ color: rgb(6, 16, 42);
/* oklch */ color: oklch(18.2% 0.055 264.8);
Tailwind
colors: {
  custom: {
    50: '#4a4e63',
    500: '#06102a',
    950: '#000000',
  },
}
SCSS
$custom: #06102a;
$custom-light: #4a4e63;
$custom-dark: #000000;
JSON
{
  "hex": "#06102a",
  "rgb": {
    "r": 6,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 223.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18162,
    "c": 0.0552,
    "h": 264.8
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#06102A
secondary
#6B5621
accent
#BE36F2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #06102A

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

Preview Lab → · Contrast checker → · Palette generator →

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