#06102E#06102E

#06102E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.062 H 265.8°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#06102E
RGBrgb(6, 16, 46)
HSLhsl(225, 77%, 10%)
HSVhsv(225, 87%, 18%)
CMYKcmyk(87%, 65.2%, 0%, 82%)
CIE-LABlab(5.48, 7.25, -21.01)
CIE-LCHlch(5.48, 22.23, 289.03°)
OKLaboklab(18.55% -0.0045 -0.0621)
OKLCHoklch(18.55% 0.062 265.8)
XYZxyz(0.7534, 0.6065, 2.6616)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06102E #2E2406
analogous
#06242E #06102E #10062E
triadic
#06102E #2E0610 #102E06
tetradic
#06102E #2E0624 #2E2406 #062E10
square
#06102E #2E0624 #2E2406 #062E10
split-complementary
#06102E #2E1006 #242E06
monochromatic
#04091B #04091B #06102E #0D2364 #14369A

Accessibility & contrast

On white

18.73
#06102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06102E
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06102E#FFFFFF#000000##FFFFFF
##06102E1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #06102e;
/* rgb */ color: rgb(6, 16, 46);
/* oklch */ color: oklch(18.5% 0.062 265.8);
Tailwind
colors: {
  custom: {
    50: '#4b4e67',
    500: '#06102e',
    950: '#000000',
  },
}
SCSS
$custom: #06102e;
$custom-light: #4b4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#06102e",
  "rgb": {
    "r": 6,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 225,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18545,
    "c": 0.06226,
    "h": 265.8
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#06102E
secondary
#6F5B21
accent
#C434F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #06102E

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

Preview Lab → · Contrast checker → · Palette generator →

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