#061C3E#061C3E

#061C3E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.071 H 258.8°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#061C3E
RGBrgb(6, 28, 62)
HSLhsl(216, 82%, 13%)
HSVhsv(216, 90%, 24%)
CMYKcmyk(90.3%, 54.8%, 0%, 75.7%)
CIE-LABlab(10.68, 6.37, -24.25)
CIE-LCHlch(10.68, 25.07, 284.71°)
OKLaboklab(23.2% -0.0138 -0.0697)
OKLCHoklch(23.2% 0.071 258.8)
XYZxyz(1.3595, 1.2169, 4.7197)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061C3E #3E2806
analogous
#06383E #061C3E #0C063E
triadic
#061C3E #3E061C #1C3E06
tetradic
#061C3E #3E0638 #3E2806 #063E0C
square
#061C3E #3E0638 #3E2806 #063E0C
split-complementary
#061C3E #3E0C06 #383E06
monochromatic
#030D1C #030D1C #061C3E #0B3576 #114EAE

Accessibility & contrast

On white

16.89
#061C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#061C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061C3E
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061C3E#FFFFFF#000000##FFFFFF
##061C3E1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09203F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #061c3e;
/* rgb */ color: rgb(6, 28, 62);
/* oklch */ color: oklch(23.2% 0.071 258.8);
Tailwind
colors: {
  custom: {
    50: '#505773',
    500: '#061c3e',
    950: '#000000',
  },
}
SCSS
$custom: #061c3e;
$custom-light: #505773;
$custom-dark: #000000;
JSON
{
  "hex": "#061c3e",
  "rgb": {
    "r": 6,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 216.429,
    "s": 82.353,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23199,
    "c": 0.07106,
    "h": 258.8
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

primary
#061C3E
secondary
#7E5A22
accent
#AA2FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #061C3E

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

Preview Lab → · Contrast checker → · Palette generator →

#061C3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva