#060E3F#060E3F

#060E3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.093 H 268.1°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#060E3F
RGBrgb(6, 14, 63)
HSLhsl(232, 83%, 14%)
HSVhsv(232, 90%, 25%)
CMYKcmyk(90.5%, 77.8%, 0%, 75.3%)
CIE-LABlab(6.43, 17.42, -31.88)
CIE-LCHlch(6.43, 36.33, 298.64°)
OKLaboklab(19.95% -0.0031 -0.0929)
OKLCHoklch(19.95% 0.093 268.1)
XYZxyz(1.1290, 0.7115, 4.7795)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060E3F #3F3706
analogous
#062A3F #060E3F #1A063F
triadic
#060E3F #3F060E #0E3F06
tetradic
#060E3F #3F062A #3F3706 #063F1A
square
#060E3F #3F062A #3F3706 #063F1A
split-complementary
#060E3F #3F1A06 #2A3F06
monochromatic
#03061C #03061C #060E3F #0B1A77 #1127AF

Accessibility & contrast

On white

18.38
#060E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060E3F
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060E3F#FFFFFF#000000##FFFFFF
##060E3F1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060e3f;
/* rgb */ color: rgb(6, 14, 63);
/* oklch */ color: oklch(20.0% 0.093 268.1);
Tailwind
colors: {
  custom: {
    50: '#524c75',
    500: '#060e3f',
    950: '#000000',
  },
}
SCSS
$custom: #060e3f;
$custom-light: #524c75;
$custom-dark: #000000;
JSON
{
  "hex": "#060e3f",
  "rgb": {
    "r": 6,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 231.579,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19952,
    "c": 0.09298,
    "h": 268.1
  },
  "luminance": 0.00712
}

Semantic roles & 50–950 ramp

primary
#060E3F
secondary
#7F7222
accent
#DD2FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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