#061D40#061D40

#061D40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.6% C 0.073 H 258.6°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#061D40
RGBrgb(6, 29, 64)
HSLhsl(216, 83%, 14%)
HSVhsv(216, 91%, 25%)
CMYKcmyk(90.6%, 54.7%, 0%, 74.9%)
CIE-LABlab(11.19, 6.52, -24.85)
CIE-LCHlch(11.19, 25.69, 284.70°)
OKLaboklab(23.64% -0.0144 -0.0714)
OKLCHoklch(23.64% 0.073 258.6)
XYZxyz(1.4395, 1.2874, 5.0221)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061D40 #402906
analogous
#063A40 #061D40 #0C0640
triadic
#061D40 #40061D #1D4006
tetradic
#061D40 #40063A #402906 #06400C
square
#061D40 #40063A #402906 #06400C
split-complementary
#061D40 #400C06 #3A4006
monochromatic
#030D1C #030D1C #061D40 #0B3678 #1050B0

Accessibility & contrast

On white

16.70
#061D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#061D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061D40
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061D40#FFFFFF#000000##FFFFFF
##061D401.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092141
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #061d40;
/* rgb */ color: rgb(6, 29, 64);
/* oklch */ color: oklch(23.6% 0.073 258.6);
Tailwind
colors: {
  custom: {
    50: '#515875',
    500: '#061d40',
    950: '#000000',
  },
}
SCSS
$custom: #061d40;
$custom-light: #515875;
$custom-dark: #000000;
JSON
{
  "hex": "#061d40",
  "rgb": {
    "r": 6,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 216.207,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23639,
    "c": 0.07288,
    "h": 258.6
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#061D40
secondary
#805B22
accent
#A92FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #061D40

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

Preview Lab → · Contrast checker → · Palette generator →

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