#060334#060334

#060334 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.092 H 273.2°. Best body text is #FFFFFF at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#060334
RGBrgb(6, 3, 52)
HSLhsl(244, 89%, 11%)
HSVhsv(244, 94%, 20%)
CMYKcmyk(88.5%, 94.2%, 0%, 79.6%)
CIE-LABlab(3.18, 16.10, -29.15)
CIE-LCHlch(3.18, 33.30, 298.91°)
OKLaboklab(16.21% 0.0052 -0.092)
OKLCHoklch(16.21% 0.092 273.2)
XYZxyz(0.7273, 0.3517, 3.2777)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060334 #313403
analogous
#031834 #060334 #1E0334
triadic
#060334 #340603 #033406
tetradic
#060334 #340318 #313403 #03341E
square
#060334 #340318 #313403 #03341E
split-complementary
#060334 #341E03 #183403
monochromatic
#03021D #03021D #060334 #0D066E #130AA8

Accessibility & contrast

On white

19.62
#060334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#060334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060334
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060334#FFFFFF#000000##FFFFFF
##0603341.0019.621.0719.62
#FFFFFF19.621.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E35
Deuteranopia (green-blind)
#000933
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #060334;
/* rgb */ color: rgb(6, 3, 52);
/* oklch */ color: oklch(16.2% 0.092 273.2);
Tailwind
colors: {
  custom: {
    50: '#4d476c',
    500: '#060334',
    950: '#000000',
  },
}
SCSS
$custom: #060334;
$custom-light: #4d476c;
$custom-dark: #000000;
JSON
{
  "hex": "#060334",
  "rgb": {
    "r": 6,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 243.673,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16211,
    "c": 0.09212,
    "h": 273.2
  },
  "luminance": 0.00352
}

Semantic roles & 50–950 ramp

primary
#060334
secondary
#72771C
accent
#FF29F2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #060334

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

Preview Lab → · Contrast checker → · Palette generator →

#060334 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva