#060339#060339

#060339 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.099 H 272.0°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#060339
RGBrgb(6, 3, 57)
HSLhsl(243, 90%, 12%)
HSVhsv(243, 95%, 22%)
CMYKcmyk(89.5%, 94.7%, 0%, 77.6%)
CIE-LABlab(3.61, 19.11, -32.14)
CIE-LCHlch(3.61, 37.39, 300.73°)
OKLaboklab(16.95% 0.0035 -0.099)
OKLCHoklch(16.95% 0.099 272)
XYZxyz(0.8459, 0.3992, 3.9026)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060339 #363903
analogous
#031B39 #060339 #210339
triadic
#060339 #390603 #033906
tetradic
#060339 #39031B #363903 #033921
square
#060339 #39031B #363903 #033921
split-complementary
#060339 #392103 #1B3903
monochromatic
#03021D #03021D #060339 #0C0673 #1209AD

Accessibility & contrast

On white

19.45
#060339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#060339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060339
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060339#FFFFFF#000000##FFFFFF
##0603391.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000A38
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #060339;
/* rgb */ color: rgb(6, 3, 57);
/* oklch */ color: oklch(16.9% 0.099 272.0);
Tailwind
colors: {
  custom: {
    50: '#4f4770',
    500: '#060339',
    950: '#000000',
  },
}
SCSS
$custom: #060339;
$custom-light: #4f4770;
$custom-dark: #000000;
JSON
{
  "hex": "#060339",
  "rgb": {
    "r": 6,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 243.333,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.16949,
    "c": 0.09902,
    "h": 272
  },
  "luminance": 0.00399
}

Semantic roles & 50–950 ramp

primary
#060339
secondary
#767C1C
accent
#FF29F3
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060339

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

Preview Lab → · Contrast checker → · Palette generator →

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