#060340#060340

#060340 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.108 H 270.7°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#060340
RGBrgb(6, 3, 64)
HSLhsl(243, 91%, 13%)
HSVhsv(243, 95%, 25%)
CMYKcmyk(90.6%, 95.3%, 0%, 74.9%)
CIE-LABlab(4.28, 23.33, -36.11)
CIE-LCHlch(4.28, 42.99, 302.87°)
OKLaboklab(18% 0.0013 -0.1084)
OKLCHoklch(18% 0.108 270.7)
XYZxyz(1.0328, 0.4739, 4.8865)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060340 #3D4003
analogous
#031E40 #060340 #240340
triadic
#060340 #400603 #034006
tetradic
#060340 #40031E #3D4003 #034024
square
#060340 #40031E #3D4003 #034024
split-complementary
#060340 #402403 #1E4003
monochromatic
#03011D #03011D #060340 #0B067A #1108B5

Accessibility & contrast

On white

19.18
#060340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#060340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060340
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060340#FFFFFF#000000##FFFFFF
##0603401.0019.181.0919.18
#FFFFFF19.181.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000C3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060340;
/* rgb */ color: rgb(6, 3, 64);
/* oklch */ color: oklch(18.0% 0.108 270.7);
Tailwind
colors: {
  custom: {
    50: '#524676',
    500: '#060340',
    950: '#000000',
  },
}
SCSS
$custom: #060340;
$custom-light: #524676;
$custom-dark: #000000;
JSON
{
  "hex": "#060340",
  "rgb": {
    "r": 6,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 242.951,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.17996,
    "c": 0.10841,
    "h": 270.7
  },
  "luminance": 0.00474
}

Semantic roles & 50–950 ramp

primary
#060340
secondary
#7D821D
accent
#FF29F4
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #060340

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

Preview Lab → · Contrast checker → · Palette generator →

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