#060F3A#060F3A

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

Color values

HEX#060F3A
RGBrgb(6, 15, 58)
HSLhsl(230, 81%, 13%)
HSVhsv(230, 90%, 23%)
CMYKcmyk(89.7%, 74.1%, 0%, 77.3%)
CIE-LABlab(6.19, 14.24, -28.67)
CIE-LCHlch(6.19, 32.01, 296.42°)
OKLaboklab(19.58% -0.0033 -0.0837)
OKLCHoklch(19.58% 0.084 267.7)
XYZxyz(1.0094, 0.6857, 4.0813)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F3A #3A3106
analogous
#06293A #060F3A #17063A
triadic
#060F3A #3A060F #0F3A06
tetradic
#060F3A #3A0629 #3A3106 #063A17
square
#060F3A #3A0629 #3A3106 #063A17
split-complementary
#060F3A #3A1706 #293A06
monochromatic
#03071C #03071C #060F3A #0C1D71 #112CA9

Accessibility & contrast

On white

18.47
#060F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060F3A
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F3A#FFFFFF#000000##FFFFFF
##060F3A1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060f3a;
/* rgb */ color: rgb(6, 15, 58);
/* oklch */ color: oklch(19.6% 0.084 267.7);
Tailwind
colors: {
  custom: {
    50: '#504d71',
    500: '#060f3a',
    950: '#000000',
  },
}
SCSS
$custom: #060f3a;
$custom-light: #504d71;
$custom-dark: #000000;
JSON
{
  "hex": "#060f3a",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 229.615,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.1958,
    "c": 0.0838,
    "h": 267.7
  },
  "luminance": 0.00686
}

Semantic roles & 50–950 ramp

primary
#060F3A
secondary
#7A6B22
accent
#D530F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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