#060F3F#060F3F

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

Color values

HEX#060F3F
RGBrgb(6, 15, 63)
HSLhsl(231, 83%, 14%)
HSVhsv(231, 90%, 25%)
CMYKcmyk(90.5%, 76.2%, 0%, 75.3%)
CIE-LABlab(6.68, 16.80, -31.48)
CIE-LCHlch(6.68, 35.68, 298.10°)
OKLaboklab(20.16% -0.0036 -0.0916)
OKLCHoklch(20.16% 0.092 267.7)
XYZxyz(1.1428, 0.7391, 4.7841)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F3F #3F3606
analogous
#062B3F #060F3F #19063F
triadic
#060F3F #3F060F #0F3F06
tetradic
#060F3F #3F062B #3F3606 #063F19
square
#060F3F #3F062B #3F3606 #063F19
split-complementary
#060F3F #3F1906 #2B3F06
monochromatic
#03071C #03071C #060F3F #0B1C77 #112AAF

Accessibility & contrast

On white

18.30
#060F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060F3F
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F3F#FFFFFF#000000##FFFFFF
##060F3F1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060f3f;
/* rgb */ color: rgb(6, 15, 63);
/* oklch */ color: oklch(20.2% 0.092 267.7);
Tailwind
colors: {
  custom: {
    50: '#524d75',
    500: '#060f3f',
    950: '#000000',
  },
}
SCSS
$custom: #060f3f;
$custom-light: #524d75;
$custom-dark: #000000;
JSON
{
  "hex": "#060f3f",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 230.526,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20159,
    "c": 0.09163,
    "h": 267.7
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#060F3F
secondary
#7F7022
accent
#D92FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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