#06082C#06082C

#06082C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.071 H 272.5°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#06082C
RGBrgb(6, 8, 44)
HSLhsl(237, 76%, 10%)
HSVhsv(237, 86%, 17%)
CMYKcmyk(86.4%, 81.8%, 0%, 82.7%)
CIE-LABlab(3.56, 9.90, -22.55)
CIE-LCHlch(3.56, 24.63, 293.70°)
OKLaboklab(16.38% 0.0031 -0.0713)
OKLCHoklch(16.38% 0.071 272.5)
XYZxyz(0.6164, 0.3942, 2.4260)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06082C #2C2A06
analogous
#061B2C #06082C #17062C
triadic
#06082C #2C0608 #082C06
tetradic
#06082C #2C061B #2C2A06 #062C17
square
#06082C #2C061B #2C2A06 #062C17
split-complementary
#06082C #2C1706 #1B2C06
monochromatic
#04051B #04051B #06082C #0D1262 #151C98

Accessibility & contrast

On white

19.47
#06082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#06082C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06082C
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06082C#FFFFFF#000000##FFFFFF
##06082C1.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#000B2B
Tritanopia (blue-blind)
#001218
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #06082c;
/* rgb */ color: rgb(6, 8, 44);
/* oklch */ color: oklch(16.4% 0.071 272.5);
Tailwind
colors: {
  custom: {
    50: '#4a4a65',
    500: '#06082c',
    950: '#000000',
  },
}
SCSS
$custom: #06082c;
$custom-light: #4a4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#06082c",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 236.842,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16379,
    "c": 0.07142,
    "h": 272.5
  },
  "luminance": 0.00394
}

Semantic roles & 50–950 ramp

primary
#06082C
secondary
#6D6921
accent
#E935F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #06082C

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

Preview Lab → · Contrast checker → · Palette generator →

#06082C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva