#060F40#060F40

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

Color values

HEX#060F40
RGBrgb(6, 15, 64)
HSLhsl(231, 83%, 14%)
HSVhsv(231, 91%, 25%)
CMYKcmyk(90.6%, 76.6%, 0%, 74.9%)
CIE-LABlab(6.78, 17.30, -32.02)
CIE-LCHlch(6.78, 36.40, 298.38°)
OKLaboklab(20.28% -0.0037 -0.0931)
OKLCHoklch(20.28% 0.093 267.7)
XYZxyz(1.1710, 0.7504, 4.9326)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F40 #403706
analogous
#062C40 #060F40 #1A0640
triadic
#060F40 #40060F #0F4006
tetradic
#060F40 #40062C #403706 #06401A
square
#060F40 #40062C #403706 #06401A
split-complementary
#060F40 #401A06 #2C4006
monochromatic
#03071C #03071C #060F40 #0B1C78 #1029B0

Accessibility & contrast

On white

18.26
#060F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060F40
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F40#FFFFFF#000000##FFFFFF
##060F401.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #060f40;
/* rgb */ color: rgb(6, 15, 64);
/* oklch */ color: oklch(20.3% 0.093 267.7);
Tailwind
colors: {
  custom: {
    50: '#524d75',
    500: '#060f40',
    950: '#000000',
  },
}
SCSS
$custom: #060f40;
$custom-light: #524d75;
$custom-dark: #000000;
JSON
{
  "hex": "#060f40",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 230.69,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20277,
    "c": 0.09317,
    "h": 267.7
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#060F40
secondary
#807122
accent
#DA2FF9
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060F40

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

Preview Lab → · Contrast checker → · Palette generator →

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