#062438#062438

#062438 is a very dark, muted cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.052 H 242.2°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#062438
RGBrgb(6, 36, 56)
HSLhsl(204, 81%, 12%)
HSVhsv(204, 89%, 22%)
CMYKcmyk(89.3%, 35.7%, 0%, 78%)
CIE-LABlab(13.14, -2.49, -16.08)
CIE-LCHlch(13.14, 16.27, 261.21°)
OKLaboklab(24.99% -0.024 -0.0456)
OKLCHoklch(24.99% 0.052 242.2)
XYZxyz(1.4195, 1.5858, 3.9719)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062438 #381A06
analogous
#063833 #062438 #060B38
triadic
#062438 #380624 #243806
tetradic
#062438 #330638 #381A06 #0B3806
square
#062438 #330638 #381A06 #0B3806
split-complementary
#062438 #38060B #383306
monochromatic
#03121C #03121C #062438 #0C486F #126BA7

Accessibility & contrast

On white

15.94
#062438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#062438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062438
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062438#FFFFFF#000000##FFFFFF
##0624381.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2439
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#00292B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #062438;
/* rgb */ color: rgb(6, 36, 56);
/* oklch */ color: oklch(25.0% 0.052 242.2);
Tailwind
colors: {
  custom: {
    50: '#4f5e6e',
    500: '#062438',
    950: '#000000',
  },
}
SCSS
$custom: #062438;
$custom-light: #4f5e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#062438",
  "rgb": {
    "r": 6,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 204,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24986,
    "c": 0.05153,
    "h": 242.2
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#062438
secondary
#784421
accent
#8031F7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #062438

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

Preview Lab → · Contrast checker → · Palette generator →

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