#061E40#061E40

#061E40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.071 H 257.6°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#061E40
RGBrgb(6, 30, 64)
HSLhsl(215, 83%, 14%)
HSVhsv(215, 91%, 25%)
CMYKcmyk(90.6%, 53.1%, 0%, 74.9%)
CIE-LABlab(11.53, 5.74, -24.29)
CIE-LCHlch(11.53, 24.96, 283.29°)
OKLaboklab(23.91% -0.0153 -0.0698)
OKLCHoklch(23.91% 0.071 257.6)
XYZxyz(1.4645, 1.3373, 5.0304)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061E40 #402806
analogous
#063B40 #061E40 #0B0640
triadic
#061E40 #40061E #1E4006
tetradic
#061E40 #40063B #402806 #06400B
square
#061E40 #40063B #402806 #06400B
split-complementary
#061E40 #400B06 #3B4006
monochromatic
#030D1C #030D1C #061E40 #0B3878 #1052B0

Accessibility & contrast

On white

16.57
#061E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#061E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061E40
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061E40#FFFFFF#000000##FFFFFF
##061E401.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2141
Deuteranopia (green-blind)
#011C3F
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #061e40;
/* rgb */ color: rgb(6, 30, 64);
/* oklch */ color: oklch(23.9% 0.071 257.6);
Tailwind
colors: {
  custom: {
    50: '#515975',
    500: '#061e40',
    950: '#000000',
  },
}
SCSS
$custom: #061e40;
$custom-light: #515975;
$custom-dark: #000000;
JSON
{
  "hex": "#061e40",
  "rgb": {
    "r": 6,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 215.172,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23906,
    "c": 0.07144,
    "h": 257.6
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#061E40
secondary
#805922
accent
#A52FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #061E40

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

Preview Lab → · Contrast checker → · Palette generator →

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