#060D3D#060D3D

#060D3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.091 H 268.5°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#060D3D
RGBrgb(6, 13, 61)
HSLhsl(232, 82%, 13%)
HSVhsv(232, 90%, 24%)
CMYKcmyk(90.2%, 78.7%, 0%, 76.1%)
CIE-LABlab(5.99, 16.95, -31.16)
CIE-LCHlch(5.99, 35.47, 298.55°)
OKLaboklab(19.51% -0.0023 -0.0912)
OKLCHoklch(19.51% 0.091 268.5)
XYZxyz(1.0610, 0.6634, 4.4861)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D3D #3D3606
analogous
#06283D #060D3D #1A063D
triadic
#060D3D #3D060D #0D3D06
tetradic
#060D3D #3D0628 #3D3606 #063D1A
square
#060D3D #3D0628 #3D3606 #063D1A
split-complementary
#060D3D #3D1A06 #283D06
monochromatic
#03061C #03061C #060D3D #0B1975 #1125AC

Accessibility & contrast

On white

18.54
#060D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060D3D
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D3D#FFFFFF#000000##FFFFFF
##060D3D1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00113C
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060d3d;
/* rgb */ color: rgb(6, 13, 61);
/* oklch */ color: oklch(19.5% 0.091 268.5);
Tailwind
colors: {
  custom: {
    50: '#514c73',
    500: '#060d3d',
    950: '#000000',
  },
}
SCSS
$custom: #060d3d;
$custom-light: #514c73;
$custom-dark: #000000;
JSON
{
  "hex": "#060d3d",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 232.364,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19507,
    "c": 0.09126,
    "h": 268.5
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#060D3D
secondary
#7D7122
accent
#DF2FF8
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #060D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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