#060C3F#060C3F

#060C3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.096 H 268.8°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#060C3F
RGBrgb(6, 12, 63)
HSLhsl(234, 83%, 14%)
HSVhsv(234, 90%, 25%)
CMYKcmyk(90.5%, 81%, 0%, 75.3%)
CIE-LABlab(5.97, 18.54, -32.64)
CIE-LCHlch(5.97, 37.54, 299.60°)
OKLaboklab(19.56% -0.002 -0.0956)
OKLCHoklch(19.56% 0.096 268.8)
XYZxyz(1.1035, 0.6604, 4.7710)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C3F #3F3906
analogous
#06283F #060C3F #1C063F
triadic
#060C3F #3F060C #0C3F06
tetradic
#060C3F #3F0628 #3F3906 #063F1C
square
#060C3F #3F0628 #3F3906 #063F1C
split-complementary
#060C3F #3F1C06 #283F06
monochromatic
#03051C #03051C #060C3F #0B1777 #1121AF

Accessibility & contrast

On white

18.55
#060C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060C3F
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C3F#FFFFFF#000000##FFFFFF
##060C3F1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060c3f;
/* rgb */ color: rgb(6, 12, 63);
/* oklch */ color: oklch(19.6% 0.096 268.8);
Tailwind
colors: {
  custom: {
    50: '#524b75',
    500: '#060c3f',
    950: '#000000',
  },
}
SCSS
$custom: #060c3f;
$custom-light: #524b75;
$custom-dark: #000000;
JSON
{
  "hex": "#060c3f",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 233.684,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19556,
    "c": 0.09559,
    "h": 268.8
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#060C3F
secondary
#7F7522
accent
#E42FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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