#21668E#21668E

#21668E is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.7% C 0.093 H 238.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#21668E
RGBrgb(33, 102, 142)
HSLhsl(202, 62%, 34%)
HSVhsv(202, 77%, 56%)
CMYKcmyk(76.8%, 28.2%, 0%, 44.3%)
CIE-LABlab(40.86, -7.03, -28.11)
CIE-LCHlch(40.86, 28.97, 255.96°)
OKLaboklab(48.68% -0.0482 -0.0794)
OKLCHoklch(48.68% 0.093 238.7)
XYZxyz(10.2591, 11.7779, 27.3186)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21668E #8E4921
analogous
#218E80 #21668E #21308E
triadic
#21668E #8E2166 #668E21
tetradic
#21668E #80218E #8E4921 #308E21
square
#21668E #80218E #8E4921 #308E21
split-complementary
#21668E #8E2130 #8E8021
monochromatic
#0A1F2B #15425C #21668E #2D8AC0 #52A6D7

Accessibility & contrast

On white

6.26
#21668E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#21668E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21668E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21668E#FFFFFF#000000##FFFFFF
##21668E1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#445C8D
Tritanopia (blue-blind)
#007074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #21668e;
/* rgb */ color: rgb(33, 102, 142);
/* oklch */ color: oklch(48.7% 0.093 238.7);
Tailwind
colors: {
  custom: {
    50: '#6d91af',
    500: '#21668e',
    950: '#000000',
  },
}
SCSS
$custom: #21668e;
$custom-light: #6d91af;
$custom-dark: #000000;
JSON
{
  "hex": "#21668e",
  "rgb": {
    "r": 33,
    "g": 102,
    "b": 142
  },
  "hsl": {
    "h": 202.018,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.09289,
    "h": 238.7
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#21668E
secondary
#BA7750
accent
#7E42E5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #21668E

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

Preview Lab → · Contrast checker → · Palette generator →

#21668E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva