#062146#062146

#062146 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.077 H 257.3°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#062146
RGBrgb(6, 33, 70)
HSLhsl(215, 84%, 15%)
HSVhsv(215, 91%, 27%)
CMYKcmyk(91.4%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.04, 6.21, -26.07)
CIE-LCHlch(13.04, 26.80, 283.41°)
OKLaboklab(25.22% -0.0168 -0.0749)
OKLCHoklch(25.22% 0.077 257.3)
XYZxyz(1.7240, 1.5684, 6.0050)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062146 #462B06
analogous
#064146 #062146 #0B0646
triadic
#062146 #460621 #214606
tetradic
#062146 #460641 #462B06 #06460B
square
#062146 #460641 #462B06 #06460B
split-complementary
#062146 #460B06 #414606
monochromatic
#020D1C #020D1C #062146 #0B3C7E #1056B7

Accessibility & contrast

On white

15.98
#062146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#062146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062146
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062146#FFFFFF#000000##FFFFFF
##0621461.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2547
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #062146;
/* rgb */ color: rgb(6, 33, 70);
/* oklch */ color: oklch(25.2% 0.077 257.3);
Tailwind
colors: {
  custom: {
    50: '#525b7a',
    500: '#062146',
    950: '#000000',
  },
}
SCSS
$custom: #062146;
$custom-light: #525b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#062146",
  "rgb": {
    "r": 6,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 214.688,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25215,
    "c": 0.07679,
    "h": 257.3
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#062146
secondary
#855C22
accent
#A42DFA
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #062146

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

Preview Lab → · Contrast checker → · Palette generator →

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