#060A40#060A40

#060A40 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.100 H 269.3°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#060A40
RGBrgb(6, 10, 64)
HSLhsl(236, 83%, 14%)
HSVhsv(236, 91%, 25%)
CMYKcmyk(90.6%, 84.4%, 0%, 74.9%)
CIE-LABlab(5.65, 20.06, -33.86)
CIE-LCHlch(5.65, 39.36, 300.65°)
OKLaboklab(19.32% -0.0013 -0.0995)
OKLCHoklch(19.32% 0.1 269.3)
XYZxyz(1.1087, 0.6258, 4.9119)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060A40 #403C06
analogous
#062740 #060A40 #1F0640
triadic
#060A40 #40060A #0A4006
tetradic
#060A40 #400627 #403C06 #06401F
square
#060A40 #400627 #403C06 #06401F
split-complementary
#060A40 #401F06 #274006
monochromatic
#03041C #03041C #060A40 #0B1378 #101BB0

Accessibility & contrast

On white

18.66
#060A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#060A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060A40
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060A40#FFFFFF#000000##FFFFFF
##060A401.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060a40;
/* rgb */ color: rgb(6, 10, 64);
/* oklch */ color: oklch(19.3% 0.100 269.3);
Tailwind
colors: {
  custom: {
    50: '#524a75',
    500: '#060a40',
    950: '#000000',
  },
}
SCSS
$custom: #060a40;
$custom-light: #524a75;
$custom-dark: #000000;
JSON
{
  "hex": "#060a40",
  "rgb": {
    "r": 6,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 235.862,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19316,
    "c": 0.0995,
    "h": 269.3
  },
  "luminance": 0.00626
}

Semantic roles & 50–950 ramp

primary
#060A40
secondary
#807922
accent
#EB2FF9
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060A40

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

Preview Lab → · Contrast checker → · Palette generator →

#060A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva