#062247#062247

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

Color values

HEX#062247
RGBrgb(6, 34, 71)
HSLhsl(214, 84%, 15%)
HSVhsv(214, 92%, 28%)
CMYKcmyk(91.5%, 52.1%, 0%, 72.2%)
CIE-LABlab(13.46, 5.91, -26.08)
CIE-LCHlch(13.46, 26.74, 282.77°)
OKLaboklab(25.56% -0.0175 -0.0749)
OKLCHoklch(25.56% 0.077 256.8)
XYZxyz(1.7840, 1.6375, 6.1821)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062247 #472B06
analogous
#064247 #062247 #0B0647
triadic
#062247 #470622 #224706
tetradic
#062247 #470642 #472B06 #06470B
square
#062247 #470642 #472B06 #06470B
split-complementary
#062247 #470B06 #424706
monochromatic
#020E1C #020E1C #062247 #0B3D7F #1058B8

Accessibility & contrast

On white

15.82
#062247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#062247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062247
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062247#FFFFFF#000000##FFFFFF
##0622471.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2648
Deuteranopia (green-blind)
#002046
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #062247;
/* rgb */ color: rgb(6, 34, 71);
/* oklch */ color: oklch(25.6% 0.077 256.8);
Tailwind
colors: {
  custom: {
    50: '#535c7a',
    500: '#062247',
    950: '#000000',
  },
}
SCSS
$custom: #062247;
$custom-light: #535c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#062247",
  "rgb": {
    "r": 6,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 214.154,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25564,
    "c": 0.07697,
    "h": 256.8
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#062247
secondary
#865B23
accent
#A22DFB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #062247

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

Preview Lab → · Contrast checker → · Palette generator →

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