#060A3C#060A3C

#060A3C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.094 H 269.6°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#060A3C
RGBrgb(6, 10, 60)
HSLhsl(236, 82%, 13%)
HSVhsv(236, 90%, 24%)
CMYKcmyk(90%, 83.3%, 0%, 76.5%)
CIE-LABlab(5.26, 17.90, -31.64)
CIE-LCHlch(5.26, 36.35, 299.50°)
OKLaboklab(18.8% -0.0006 -0.0936)
OKLCHoklch(18.8% 0.094 269.6)
XYZxyz(0.9990, 0.5819, 4.3338)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060A3C #3C3806
analogous
#06253C #060A3C #1D063C
triadic
#060A3C #3C060A #0A3C06
tetradic
#060A3C #3C0625 #3C3806 #063C1D
square
#060A3C #3C0625 #3C3806 #063C1D
split-complementary
#060A3C #3C1D06 #253C06
monochromatic
#03051C #03051C #060A3C #0C1374 #111DAB

Accessibility & contrast

On white

18.81
#060A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#060A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060A3C
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060A3C#FFFFFF#000000##FFFFFF
##060A3C1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#000F3B
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060a3c;
/* rgb */ color: rgb(6, 10, 60);
/* oklch */ color: oklch(18.8% 0.094 269.6);
Tailwind
colors: {
  custom: {
    50: '#504a72',
    500: '#060a3c',
    950: '#000000',
  },
}
SCSS
$custom: #060a3c;
$custom-light: #504a72;
$custom-dark: #000000;
JSON
{
  "hex": "#060a3c",
  "rgb": {
    "r": 6,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 235.556,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18799,
    "c": 0.0936,
    "h": 269.6
  },
  "luminance": 0.00582
}

Semantic roles & 50–950 ramp

primary
#060A3C
secondary
#7C7522
accent
#E930F8
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #060A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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