#06102D#06102D

#06102D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.061 H 265.6°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#06102D
RGBrgb(6, 16, 45)
HSLhsl(225, 76%, 10%)
HSVhsv(225, 87%, 18%)
CMYKcmyk(86.7%, 64.4%, 0%, 82.4%)
CIE-LABlab(5.41, 6.75, -20.38)
CIE-LCHlch(5.41, 21.47, 288.33°)
OKLaboklab(18.45% -0.0046 -0.0603)
OKLCHoklch(18.45% 0.061 265.6)
XYZxyz(0.7339, 0.5987, 2.5590)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06102D #2D2306
analogous
#06242D #06102D #0F062D
triadic
#06102D #2D0610 #102D06
tetradic
#06102D #2D0624 #2D2306 #062D0F
square
#06102D #2D0624 #2D2306 #062D0F
split-complementary
#06102D #2D0F06 #242D06
monochromatic
#040A1B #040A1B #06102D #0D2363 #143699

Accessibility & contrast

On white

18.75
#06102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06102D
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06102D#FFFFFF#000000##FFFFFF
##06102D1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #06102d;
/* rgb */ color: rgb(6, 16, 45);
/* oklch */ color: oklch(18.4% 0.061 265.6);
Tailwind
colors: {
  custom: {
    50: '#4b4e66',
    500: '#06102d',
    950: '#000000',
  },
}
SCSS
$custom: #06102d;
$custom-light: #4b4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#06102d",
  "rgb": {
    "r": 6,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 224.615,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.18447,
    "c": 0.06052,
    "h": 265.6
  },
  "luminance": 0.00599
}

Semantic roles & 50–950 ramp

primary
#06102D
secondary
#6E5A21
accent
#C235F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #06102D

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

Preview Lab → · Contrast checker → · Palette generator →

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