#062538#062538

#062538 is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.3% C 0.051 H 240.1°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#062538
RGBrgb(6, 37, 56)
HSLhsl(203, 81%, 12%)
HSVhsv(203, 89%, 22%)
CMYKcmyk(89.3%, 33.9%, 0%, 78%)
CIE-LABlab(13.51, -3.21, -15.50)
CIE-LCHlch(13.51, 15.83, 258.31°)
OKLaboklab(25.28% -0.0252 -0.0439)
OKLCHoklch(25.28% 0.051 240.1)
XYZxyz(1.4502, 1.6472, 3.9821)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062538 #381906
analogous
#063832 #062538 #060C38
triadic
#062538 #380625 #253806
tetradic
#062538 #320638 #381906 #0C3806
square
#062538 #320638 #381906 #0C3806
split-complementary
#062538 #38060C #383206
monochromatic
#03121C #03121C #062538 #0C4A6F #126EA7

Accessibility & contrast

On white

15.80
#062538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062538
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062538#FFFFFF#000000##FFFFFF
##0625381.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2539
Deuteranopia (green-blind)
#152138
Tritanopia (blue-blind)
#002A2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #062538;
/* rgb */ color: rgb(6, 37, 56);
/* oklch */ color: oklch(25.3% 0.051 240.1);
Tailwind
colors: {
  custom: {
    50: '#4f5f6e',
    500: '#062538',
    950: '#000000',
  },
}
SCSS
$custom: #062538;
$custom-light: #4f5f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#062538",
  "rgb": {
    "r": 6,
    "g": 37,
    "b": 56
  },
  "hsl": {
    "h": 202.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2528,
    "c": 0.05057,
    "h": 240.1
  },
  "luminance": 0.01647
}

Semantic roles & 50–950 ramp

primary
#062538
secondary
#784221
accent
#7C31F7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #062538

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

Preview Lab → · Contrast checker → · Palette generator →

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