#062238#062238

#062238 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.4% C 0.054 H 246.1°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#062238
RGBrgb(6, 34, 56)
HSLhsl(206, 81%, 12%)
HSVhsv(206, 89%, 22%)
CMYKcmyk(89.3%, 39.3%, 0%, 78%)
CIE-LABlab(12.40, -1.02, -17.25)
CIE-LCHlch(12.40, 17.28, 266.61°)
OKLaboklab(24.4% -0.0217 -0.049)
OKLCHoklch(24.4% 0.054 246.1)
XYZxyz(1.3607, 1.4681, 3.9523)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062238 #381C06
analogous
#063835 #062238 #060938
triadic
#062238 #380622 #223806
tetradic
#062238 #350638 #381C06 #093806
square
#062238 #350638 #381C06 #093806
split-complementary
#062238 #380609 #383506
monochromatic
#03111C #03111C #062238 #0C446F #1265A7

Accessibility & contrast

On white

16.23
#062238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#062238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062238
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062238#FFFFFF#000000##FFFFFF
##0622381.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#111E38
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #062238;
/* rgb */ color: rgb(6, 34, 56);
/* oklch */ color: oklch(24.4% 0.054 246.1);
Tailwind
colors: {
  custom: {
    50: '#4e5c6e',
    500: '#062238',
    950: '#000000',
  },
}
SCSS
$custom: #062238;
$custom-light: #4e5c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#062238",
  "rgb": {
    "r": 6,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 206.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24402,
    "c": 0.05362,
    "h": 246.1
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#062238
secondary
#784821
accent
#8831F7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #062238

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

Preview Lab → · Contrast checker → · Palette generator →

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