#061147#061147

#061147 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.101 H 267.0°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#061147
RGBrgb(6, 17, 71)
HSLhsl(230, 84%, 15%)
HSVhsv(230, 92%, 28%)
CMYKcmyk(91.5%, 76.1%, 0%, 72.2%)
CIE-LABlab(8.08, 19.14, -34.84)
CIE-LCHlch(8.08, 39.75, 298.79°)
OKLaboklab(21.52% -0.0053 -0.101)
OKLCHoklch(21.52% 0.101 267)
XYZxyz(1.4125, 0.8944, 6.0582)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061147 #473C06
analogous
#063247 #061147 #1B0647
triadic
#061147 #470611 #114706
tetradic
#061147 #470632 #473C06 #06471B
square
#061147 #470632 #473C06 #06471B
split-complementary
#061147 #471B06 #324706
monochromatic
#02071C #02071C #061147 #0B1F7F #102CB8

Accessibility & contrast

On white

17.81
#061147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061147
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061147#FFFFFF#000000##FFFFFF
##0611471.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #061147;
/* rgb */ color: rgb(6, 17, 71);
/* oklch */ color: oklch(21.5% 0.101 267.0);
Tailwind
colors: {
  custom: {
    50: '#544e7b',
    500: '#061147',
    950: '#000000',
  },
}
SCSS
$custom: #061147;
$custom-light: #544e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#061147",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 229.846,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21518,
    "c": 0.1011,
    "h": 267
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#061147
secondary
#867523
accent
#D82DFB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #061147

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

Preview Lab → · Contrast checker → · Palette generator →

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