#060F38#060F38

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

Color values

HEX#060F38
RGBrgb(6, 15, 56)
HSLhsl(229, 81%, 12%)
HSVhsv(229, 89%, 22%)
CMYKcmyk(89.3%, 73.2%, 0%, 78%)
CIE-LABlab(6.01, 13.17, -27.51)
CIE-LCHlch(6.01, 30.50, 295.59°)
OKLaboklab(19.36% -0.0033 -0.0805)
OKLCHoklch(19.36% 0.081 267.7)
XYZxyz(0.9595, 0.6658, 3.8186)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F38 #382F06
analogous
#062838 #060F38 #160638
triadic
#060F38 #38060F #0F3806
tetradic
#060F38 #380628 #382F06 #063816
square
#060F38 #380628 #382F06 #063816
split-complementary
#060F38 #381606 #283806
monochromatic
#03071C #03071C #060F38 #0C1E6F #122DA7

Accessibility & contrast

On white

18.53
#060F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060F38
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F38#FFFFFF#000000##FFFFFF
##060F381.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001137
Tritanopia (blue-blind)
#001A21
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060f38;
/* rgb */ color: rgb(6, 15, 56);
/* oklch */ color: oklch(19.4% 0.081 267.7);
Tailwind
colors: {
  custom: {
    50: '#4f4d6f',
    500: '#060f38',
    950: '#000000',
  },
}
SCSS
$custom: #060f38;
$custom-light: #4f4d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#060f38",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 229.2,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19355,
    "c": 0.08059,
    "h": 267.7
  },
  "luminance": 0.00666
}

Semantic roles & 50–950 ramp

primary
#060F38
secondary
#786921
accent
#D331F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060F38

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

Preview Lab → · Contrast checker → · Palette generator →

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