#060740#060740

#060740 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.103 H 270.0°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#060740
RGBrgb(6, 7, 64)
HSLhsl(239, 83%, 14%)
HSVhsv(239, 91%, 25%)
CMYKcmyk(90.6%, 89.1%, 0%, 74.9%)
CIE-LABlab(5.06, 21.48, -34.83)
CIE-LCHlch(5.06, 40.92, 301.67°)
OKLaboklab(18.77% -0.0001 -0.1031)
OKLCHoklch(18.77% 0.103 270)
XYZxyz(1.0762, 0.5607, 4.9010)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060740 #403F06
analogous
#062440 #060740 #220640
triadic
#060740 #400607 #074006
tetradic
#060740 #400624 #403F06 #064022
square
#060740 #400624 #403F06 #064022
split-complementary
#060740 #402206 #244006
monochromatic
#03031C #03031C #060740 #0B0D78 #1013B0

Accessibility & contrast

On white

18.88
#060740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#060740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060740
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060740#FFFFFF#000000##FFFFFF
##0607401.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000E3F
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060740;
/* rgb */ color: rgb(6, 7, 64);
/* oklch */ color: oklch(18.8% 0.103 270.0);
Tailwind
colors: {
  custom: {
    50: '#524876',
    500: '#060740',
    950: '#000000',
  },
}
SCSS
$custom: #060740;
$custom-light: #524876;
$custom-dark: #000000;
JSON
{
  "hex": "#060740",
  "rgb": {
    "r": 6,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 238.966,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18773,
    "c": 0.10314,
    "h": 270
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#060740
secondary
#807E22
accent
#F62FF9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #060740

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

Preview Lab → · Contrast checker → · Palette generator →

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