#061C38#061C38

#061C38 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 22.7% C 0.061 H 255.7°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#061C38
RGBrgb(6, 28, 56)
HSLhsl(214, 81%, 12%)
HSVhsv(214, 89%, 22%)
CMYKcmyk(89.3%, 50%, 0%, 78%)
CIE-LABlab(10.22, 3.54, -20.72)
CIE-LCHlch(10.22, 21.02, 279.70°)
OKLaboklab(22.69% -0.0152 -0.0593)
OKLCHoklch(22.69% 0.061 255.7)
XYZxyz(1.2039, 1.1546, 3.9000)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061C38 #382206
analogous
#063538 #061C38 #090638
triadic
#061C38 #38061C #1C3806
tetradic
#061C38 #380635 #382206 #063809
square
#061C38 #380635 #382206 #063809
split-complementary
#061C38 #380906 #353806
monochromatic
#030E1C #030E1C #061C38 #0C386F #1253A7

Accessibility & contrast

On white

17.06
#061C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#061C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061C38
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061C38#FFFFFF#000000##FFFFFF
##061C381.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E39
Deuteranopia (green-blind)
#051A37
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #061c38;
/* rgb */ color: rgb(6, 28, 56);
/* oklch */ color: oklch(22.7% 0.061 255.7);
Tailwind
colors: {
  custom: {
    50: '#4e576f',
    500: '#061c38',
    950: '#000000',
  },
}
SCSS
$custom: #061c38;
$custom-light: #4e576f;
$custom-dark: #000000;
JSON
{
  "hex": "#061c38",
  "rgb": {
    "r": 6,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 213.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22692,
    "c": 0.06124,
    "h": 255.7
  },
  "luminance": 0.01155
}

Semantic roles & 50–950 ramp

primary
#061C38
secondary
#785221
accent
#A031F7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #061C38

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

Preview Lab → · Contrast checker → · Palette generator →

#061C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva