#062138#062138

#062138 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.1% C 0.055 H 247.9°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#062138
RGBrgb(6, 33, 56)
HSLhsl(208, 81%, 12%)
HSVhsv(208, 89%, 22%)
CMYKcmyk(89.3%, 41.1%, 0%, 78%)
CIE-LABlab(12.04, -0.28, -17.83)
CIE-LCHlch(12.04, 17.83, 269.09°)
OKLaboklab(24.11% -0.0206 -0.0507)
OKLCHoklch(24.11% 0.055 247.9)
XYZxyz(1.3325, 1.4118, 3.9429)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062138 #381D06
analogous
#063836 #062138 #060838
triadic
#062138 #380621 #213806
tetradic
#062138 #360638 #381D06 #083806
square
#062138 #360638 #381D06 #083806
split-complementary
#062138 #380608 #383606
monochromatic
#03101C #03101C #062138 #0C426F #1262A7

Accessibility & contrast

On white

16.38
#062138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#062138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062138
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062138#FFFFFF#000000##FFFFFF
##0621381.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162239
Deuteranopia (green-blind)
#0F1D38
Tritanopia (blue-blind)
#002729
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #062138;
/* rgb */ color: rgb(6, 33, 56);
/* oklch */ color: oklch(24.1% 0.055 247.9);
Tailwind
colors: {
  custom: {
    50: '#4e5b6e',
    500: '#062138',
    950: '#000000',
  },
}
SCSS
$custom: #062138;
$custom-light: #4e5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#062138",
  "rgb": {
    "r": 6,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 207.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24113,
    "c": 0.05476,
    "h": 247.9
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#062138
secondary
#784921
accent
#8C31F7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #062138

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

Preview Lab → · Contrast checker → · Palette generator →

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