#06082F#06082F

#06082F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.076 H 272.0°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#06082F
RGBrgb(6, 8, 47)
HSLhsl(237, 77%, 10%)
HSVhsv(237, 87%, 18%)
CMYKcmyk(87.2%, 83%, 0%, 81.6%)
CIE-LABlab(3.77, 11.39, -24.47)
CIE-LCHlch(3.77, 26.99, 294.95°)
OKLaboklab(16.74% 0.0027 -0.0762)
OKLCHoklch(16.74% 0.076 272)
XYZxyz(0.6749, 0.4176, 2.7338)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06082F #2F2D06
analogous
#061C2F #06082F #18062F
triadic
#06082F #2F0608 #082F06
tetradic
#06082F #2F061C #2F2D06 #062F18
square
#06082F #2F061C #2F2D06 #062F18
split-complementary
#06082F #2F1806 #1C2F06
monochromatic
#03051B #03051B #06082F #0D1165 #141A9C

Accessibility & contrast

On white

19.38
#06082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06082F
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06082F#FFFFFF#000000##FFFFFF
##06082F1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000B2E
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #06082f;
/* rgb */ color: rgb(6, 8, 47);
/* oklch */ color: oklch(16.7% 0.076 272.0);
Tailwind
colors: {
  custom: {
    50: '#4b4a68',
    500: '#06082f',
    950: '#000000',
  },
}
SCSS
$custom: #06082f;
$custom-light: #4b4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#06082f",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 237.073,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16745,
    "c": 0.07629,
    "h": 272
  },
  "luminance": 0.00418
}

Semantic roles & 50–950 ramp

primary
#06082F
secondary
#706C21
accent
#EB34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #06082F

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

Preview Lab → · Contrast checker → · Palette generator →

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