#061142#061142

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

Color values

HEX#061142
RGBrgb(6, 17, 66)
HSLhsl(229, 83%, 14%)
HSVhsv(229, 91%, 26%)
CMYKcmyk(90.9%, 74.2%, 0%, 74.1%)
CIE-LABlab(7.52, 16.90, -32.23)
CIE-LCHlch(7.52, 36.39, 297.67°)
OKLaboklab(20.93% -0.005 -0.0934)
OKLCHoklch(20.93% 0.094 266.9)
XYZxyz(1.2586, 0.8328, 5.2476)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061142 #423706
analogous
#062F42 #061142 #190642
triadic
#061142 #420611 #114206
tetradic
#061142 #42062F #423706 #064219
square
#061142 #42062F #423706 #064219
split-complementary
#061142 #421906 #2F4206
monochromatic
#03071C #03071C #061142 #0B1F7A #102EB2

Accessibility & contrast

On white

18.00
#061142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#061142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061142
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061142#FFFFFF#000000##FFFFFF
##0611421.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001441
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #061142;
/* rgb */ color: rgb(6, 17, 66);
/* oklch */ color: oklch(20.9% 0.094 266.9);
Tailwind
colors: {
  custom: {
    50: '#534e77',
    500: '#061142',
    950: '#000000',
  },
}
SCSS
$custom: #061142;
$custom-light: #534e77;
$custom-dark: #000000;
JSON
{
  "hex": "#061142",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 229,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20933,
    "c": 0.09351,
    "h": 266.9
  },
  "luminance": 0.00833
}

Semantic roles & 50–950 ramp

primary
#061142
secondary
#827022
accent
#D42EFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #061142

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

Preview Lab → · Contrast checker → · Palette generator →

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