#061246#061246

#061246 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.098 H 266.6°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#061246
RGBrgb(6, 18, 70)
HSLhsl(229, 84%, 15%)
HSVhsv(229, 91%, 27%)
CMYKcmyk(91.4%, 74.3%, 0%, 72.5%)
CIE-LABlab(8.25, 17.95, -33.86)
CIE-LCHlch(8.25, 38.32, 297.92°)
OKLaboklab(21.61% -0.0058 -0.0981)
OKLCHoklch(21.61% 0.098 266.6)
XYZxyz(1.3965, 0.9134, 5.8959)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061246 #463A06
analogous
#063246 #061246 #1A0646
triadic
#061246 #460612 #124606
tetradic
#061246 #460632 #463A06 #06461A
square
#061246 #460632 #463A06 #06461A
split-complementary
#061246 #461A06 #324606
monochromatic
#02071C #02071C #061246 #0B207E #102FB7

Accessibility & contrast

On white

17.75
#061246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061246
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061246#FFFFFF#000000##FFFFFF
##0612461.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #061246;
/* rgb */ color: rgb(6, 18, 70);
/* oklch */ color: oklch(21.6% 0.098 266.6);
Tailwind
colors: {
  custom: {
    50: '#544f7a',
    500: '#061246',
    950: '#000000',
  },
}
SCSS
$custom: #061246;
$custom-light: #544f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#061246",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 228.75,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21607,
    "c": 0.09826,
    "h": 266.6
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#061246
secondary
#857322
accent
#D42DFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #061246

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

Preview Lab → · Contrast checker → · Palette generator →

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