#061340#061340

#061340 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.088 H 265.9°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#061340
RGBrgb(6, 19, 64)
HSLhsl(227, 83%, 14%)
HSVhsv(227, 91%, 25%)
CMYKcmyk(90.6%, 70.3%, 0%, 74.9%)
CIE-LABlab(7.90, 14.47, -30.19)
CIE-LCHlch(7.90, 33.48, 295.61°)
OKLaboklab(21.15% -0.0062 -0.0874)
OKLCHoklch(21.15% 0.088 265.9)
XYZxyz(1.2331, 0.8745, 4.9533)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061340 #403306
analogous
#063040 #061340 #160640
triadic
#061340 #400613 #134006
tetradic
#061340 #400630 #403306 #064016
square
#061340 #400630 #403306 #064016
split-complementary
#061340 #401606 #304006
monochromatic
#03081C #03081C #061340 #0B2478 #1034B0

Accessibility & contrast

On white

17.87
#061340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#061340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061340
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061340#FFFFFF#000000##FFFFFF
##0613401.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #061340;
/* rgb */ color: rgb(6, 19, 64);
/* oklch */ color: oklch(21.2% 0.088 265.9);
Tailwind
colors: {
  custom: {
    50: '#525075',
    500: '#061340',
    950: '#000000',
  },
}
SCSS
$custom: #061340;
$custom-light: #525075;
$custom-dark: #000000;
JSON
{
  "hex": "#061340",
  "rgb": {
    "r": 6,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 226.552,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21152,
    "c": 0.08758,
    "h": 265.9
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#061340
secondary
#806B22
accent
#CC2FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #061340

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

Preview Lab → · Contrast checker → · Palette generator →

#061340 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva