#061C3F#061C3F

#061C3F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.073 H 259.2°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#061C3F
RGBrgb(6, 28, 63)
HSLhsl(217, 83%, 14%)
HSVhsv(217, 90%, 25%)
CMYKcmyk(90.5%, 55.6%, 0%, 75.3%)
CIE-LABlab(10.76, 6.84, -24.83)
CIE-LCHlch(10.76, 25.76, 285.40°)
OKLaboklab(23.29% -0.0136 -0.0714)
OKLCHoklch(23.29% 0.073 259.2)
XYZxyz(1.3872, 1.2279, 4.8656)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061C3F #3F2906
analogous
#06383F #061C3F #0C063F
triadic
#061C3F #3F061C #1C3F06
tetradic
#061C3F #3F0638 #3F2906 #063F0C
square
#061C3F #3F0638 #3F2906 #063F0C
split-complementary
#061C3F #3F0C06 #383F06
monochromatic
#030C1C #030C1C #061C3F #0B3577 #114EAF

Accessibility & contrast

On white

16.86
#061C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#061C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061C3F
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061C3F#FFFFFF#000000##FFFFFF
##061C3F1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082040
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #061c3f;
/* rgb */ color: rgb(6, 28, 63);
/* oklch */ color: oklch(23.3% 0.073 259.2);
Tailwind
colors: {
  custom: {
    50: '#515774',
    500: '#061c3f',
    950: '#000000',
  },
}
SCSS
$custom: #061c3f;
$custom-light: #515774;
$custom-dark: #000000;
JSON
{
  "hex": "#061c3f",
  "rgb": {
    "r": 6,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 216.842,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23287,
    "c": 0.0727,
    "h": 259.2
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#061C3F
secondary
#7F5B22
accent
#AB2FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #061C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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