#06102F#06102F

#06102F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.064 H 266.0°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#06102F
RGBrgb(6, 16, 47)
HSLhsl(225, 77%, 10%)
HSVhsv(225, 87%, 18%)
CMYKcmyk(87.2%, 66%, 0%, 81.6%)
CIE-LABlab(5.55, 7.75, -21.64)
CIE-LCHlch(5.55, 22.99, 289.71°)
OKLaboklab(18.64% -0.0044 -0.0638)
OKLCHoklch(18.64% 0.064 266)
XYZxyz(0.7733, 0.6145, 2.7666)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06102F #2F2506
analogous
#06242F #06102F #10062F
triadic
#06102F #2F0610 #102F06
tetradic
#06102F #2F0624 #2F2506 #062F10
square
#06102F #2F0624 #2F2506 #062F10
split-complementary
#06102F #2F1006 #242F06
monochromatic
#03091B #03091B #06102F #0D2265 #14359C

Accessibility & contrast

On white

18.70
#06102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06102F
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06102F#FFFFFF#000000##FFFFFF
##06102F1.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #06102f;
/* rgb */ color: rgb(6, 16, 47);
/* oklch */ color: oklch(18.6% 0.064 266.0);
Tailwind
colors: {
  custom: {
    50: '#4c4e68',
    500: '#06102f',
    950: '#000000',
  },
}
SCSS
$custom: #06102f;
$custom-light: #4c4e68;
$custom-dark: #000000;
JSON
{
  "hex": "#06102f",
  "rgb": {
    "r": 6,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 225.366,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18644,
    "c": 0.064,
    "h": 266
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#06102F
secondary
#705C21
accent
#C534F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #06102F

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

Preview Lab → · Contrast checker → · Palette generator →

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