#060F39#060F39

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

Color values

HEX#060F39
RGBrgb(6, 15, 57)
HSLhsl(229, 81%, 12%)
HSVhsv(229, 89%, 22%)
CMYKcmyk(89.5%, 73.7%, 0%, 77.6%)
CIE-LABlab(6.10, 13.71, -28.09)
CIE-LCHlch(6.10, 31.26, 296.01°)
OKLaboklab(19.47% -0.0033 -0.0821)
OKLCHoklch(19.47% 0.082 267.7)
XYZxyz(0.9842, 0.6757, 3.9486)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F39 #393006
analogous
#062839 #060F39 #170639
triadic
#060F39 #39060F #0F3906
tetradic
#060F39 #390628 #393006 #063917
square
#060F39 #390628 #393006 #063917
split-complementary
#060F39 #391706 #283906
monochromatic
#03071C #03071C #060F39 #0C1E70 #122CA8

Accessibility & contrast

On white

18.50
#060F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060F39
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F39#FFFFFF#000000##FFFFFF
##060F391.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060f39;
/* rgb */ color: rgb(6, 15, 57);
/* oklch */ color: oklch(19.5% 0.082 267.7);
Tailwind
colors: {
  custom: {
    50: '#4f4d70',
    500: '#060f39',
    950: '#000000',
  },
}
SCSS
$custom: #060f39;
$custom-light: #4f4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#060f39",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 229.412,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19467,
    "c": 0.0822,
    "h": 267.7
  },
  "luminance": 0.00676
}

Semantic roles & 50–950 ramp

primary
#060F39
secondary
#796A22
accent
#D430F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060F39

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

Preview Lab → · Contrast checker → · Palette generator →

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