#061140#061140

#061140 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.090 H 266.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#061140
RGBrgb(6, 17, 64)
HSLhsl(229, 83%, 14%)
HSVhsv(229, 91%, 25%)
CMYKcmyk(90.6%, 73.4%, 0%, 74.9%)
CIE-LABlab(7.31, 15.96, -31.15)
CIE-LCHlch(7.31, 35.00, 297.13°)
OKLaboklab(20.7% -0.0049 -0.0903)
OKLCHoklch(20.7% 0.09 266.9)
XYZxyz(1.2006, 0.8096, 4.9425)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061140 #403506
analogous
#062E40 #061140 #180640
triadic
#061140 #400611 #114006
tetradic
#061140 #40062E #403506 #064018
square
#061140 #40062E #403506 #064018
split-complementary
#061140 #401806 #2E4006
monochromatic
#03071C #03071C #061140 #0B2078 #102FB0

Accessibility & contrast

On white

18.07
#061140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#061140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061140
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061140#FFFFFF#000000##FFFFFF
##0611401.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #061140;
/* rgb */ color: rgb(6, 17, 64);
/* oklch */ color: oklch(20.7% 0.090 266.9);
Tailwind
colors: {
  custom: {
    50: '#524e75',
    500: '#061140',
    950: '#000000',
  },
}
SCSS
$custom: #061140;
$custom-light: #524e75;
$custom-dark: #000000;
JSON
{
  "hex": "#061140",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 228.621,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20704,
    "c": 0.09042,
    "h": 266.9
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#061140
secondary
#806E22
accent
#D32FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #061140

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

Preview Lab → · Contrast checker → · Palette generator →

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