#06052A#06052A

#06052A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.074 H 275.0°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#06052A
RGBrgb(6, 5, 42)
HSLhsl(242, 79%, 9%)
HSVhsv(242, 88%, 16%)
CMYKcmyk(85.7%, 88.1%, 0%, 83.5%)
CIE-LABlab(2.84, 10.17, -22.17)
CIE-LCHlch(2.84, 24.39, 294.65°)
OKLaboklab(15.35% 0.0064 -0.0733)
OKLCHoklch(15.35% 0.074 275)
XYZxyz(0.5472, 0.3144, 2.2219)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06052A #292A05
analogous
#05172A #06052A #19052A
triadic
#06052A #2A0605 #052A06
tetradic
#06052A #2A0517 #292A05 #052A19
square
#06052A #2A0517 #292A05 #052A19
split-complementary
#06052A #2A1905 #172A05
monochromatic
#04031B #04031B #06052A #0E0C61 #161297

Accessibility & contrast

On white

19.76
#06052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#06052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06052A
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06052A#FFFFFF#000000##FFFFFF
##06052A1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000929
Tritanopia (blue-blind)
#000F16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #06052a;
/* rgb */ color: rgb(6, 5, 42);
/* oklch */ color: oklch(15.3% 0.074 275.0);
Tailwind
colors: {
  custom: {
    50: '#4a4964',
    500: '#06052a',
    950: '#000000',
  },
}
SCSS
$custom: #06052a;
$custom-light: #4a4964;
$custom-dark: #000000;
JSON
{
  "hex": "#06052a",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 241.622,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15348,
    "c": 0.07358,
    "h": 275
  },
  "luminance": 0.00314
}

Semantic roles & 50–950 ramp

primary
#06052A
secondary
#6A6C1F
accent
#F533F0
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #06052A

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

Preview Lab → · Contrast checker → · Palette generator →

#06052A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva