#060F42#060F42

#060F42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.096 H 267.7°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#060F42
RGBrgb(6, 15, 66)
HSLhsl(231, 83%, 14%)
HSVhsv(231, 91%, 26%)
CMYKcmyk(90.9%, 77.3%, 0%, 74.1%)
CIE-LABlab(6.99, 18.27, -33.10)
CIE-LCHlch(6.99, 37.81, 298.90°)
OKLaboklab(20.52% -0.0039 -0.0961)
OKLCHoklch(20.52% 0.096 267.7)
XYZxyz(1.2290, 0.7736, 5.2377)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F42 #423906
analogous
#062D42 #060F42 #1B0642
triadic
#060F42 #42060F #0F4206
tetradic
#060F42 #42062D #423906 #06421B
square
#060F42 #42062D #423906 #06421B
split-complementary
#060F42 #421B06 #2D4206
monochromatic
#03061C #03061C #060F42 #0B1C7A #1029B2

Accessibility & contrast

On white

18.18
#060F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#060F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060F42
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F42#FFFFFF#000000##FFFFFF
##060F421.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001341
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #060f42;
/* rgb */ color: rgb(6, 15, 66);
/* oklch */ color: oklch(20.5% 0.096 267.7);
Tailwind
colors: {
  custom: {
    50: '#534d77',
    500: '#060f42',
    950: '#000000',
  },
}
SCSS
$custom: #060f42;
$custom-light: #534d77;
$custom-dark: #000000;
JSON
{
  "hex": "#060f42",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 231,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20516,
    "c": 0.09622,
    "h": 267.7
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#060F42
secondary
#827322
accent
#DB2EFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #060F42

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

Preview Lab → · Contrast checker → · Palette generator →

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