#060F3C#060F3C

#060F3C is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.087 H 267.7°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#060F3C
RGBrgb(6, 15, 60)
HSLhsl(230, 82%, 13%)
HSVhsv(230, 90%, 24%)
CMYKcmyk(90%, 75%, 0%, 76.5%)
CIE-LABlab(6.38, 15.28, -29.81)
CIE-LCHlch(6.38, 33.50, 297.15°)
OKLaboklab(19.81% -0.0034 -0.0869)
OKLCHoklch(19.81% 0.087 267.7)
XYZxyz(1.0613, 0.7065, 4.3545)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F3C #3C3306
analogous
#062A3C #060F3C #18063C
triadic
#060F3C #3C060F #0F3C06
tetradic
#060F3C #3C062A #3C3306 #063C18
square
#060F3C #3C062A #3C3306 #063C18
split-complementary
#060F3C #3C1806 #2A3C06
monochromatic
#03071C #03071C #060F3C #0C1D74 #112BAB

Accessibility & contrast

On white

18.40
#060F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#060F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060F3C
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F3C#FFFFFF#000000##FFFFFF
##060F3C1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00123B
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060f3c;
/* rgb */ color: rgb(6, 15, 60);
/* oklch */ color: oklch(19.8% 0.087 267.7);
Tailwind
colors: {
  custom: {
    50: '#504d72',
    500: '#060f3c',
    950: '#000000',
  },
}
SCSS
$custom: #060f3c;
$custom-light: #504d72;
$custom-dark: #000000;
JSON
{
  "hex": "#060f3c",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 230,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19809,
    "c": 0.08697,
    "h": 267.7
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#060F3C
secondary
#7C6D22
accent
#D730F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #060F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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