#061040#061040

#061040 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.092 H 267.3°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#061040
RGBrgb(6, 16, 64)
HSLhsl(230, 83%, 14%)
HSVhsv(230, 91%, 25%)
CMYKcmyk(90.6%, 75%, 0%, 74.9%)
CIE-LABlab(7.04, 16.65, -31.60)
CIE-LCHlch(7.04, 35.71, 297.78°)
OKLaboklab(20.49% -0.0043 -0.0917)
OKLCHoklch(20.49% 0.092 267.3)
XYZxyz(1.1855, 0.7793, 4.9374)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061040 #403606
analogous
#062D40 #061040 #190640
triadic
#061040 #400610 #104006
tetradic
#061040 #40062D #403606 #064019
square
#061040 #40062D #403606 #064019
split-complementary
#061040 #401906 #2D4006
monochromatic
#03071C #03071C #061040 #0B1E78 #102CB0

Accessibility & contrast

On white

18.17
#061040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061040
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061040#FFFFFF#000000##FFFFFF
##0610401.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #061040;
/* rgb */ color: rgb(6, 16, 64);
/* oklch */ color: oklch(20.5% 0.092 267.3);
Tailwind
colors: {
  custom: {
    50: '#524e75',
    500: '#061040',
    950: '#000000',
  },
}
SCSS
$custom: #061040;
$custom-light: #524e75;
$custom-dark: #000000;
JSON
{
  "hex": "#061040",
  "rgb": {
    "r": 6,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 229.655,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20488,
    "c": 0.09181,
    "h": 267.3
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#061040
secondary
#807022
accent
#D62FF9
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #061040

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

Preview Lab → · Contrast checker → · Palette generator →

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