#21638C#21638C

#21638C is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 47.8% C 0.093 H 240.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#21638C
RGBrgb(33, 99, 140)
HSLhsl(203, 62%, 34%)
HSVhsv(203, 76%, 55%)
CMYKcmyk(76.4%, 29.3%, 0%, 45.1%)
CIE-LABlab(39.81, -5.95, -28.54)
CIE-LCHlch(39.81, 29.16, 258.22°)
OKLaboklab(47.82% -0.0459 -0.0807)
OKLCHoklch(47.82% 0.093 240.4)
XYZxyz(9.8208, 11.1393, 26.4384)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21638C #8C4A21
analogous
#218C80 #21638C #212D8C
triadic
#21638C #8C2163 #638C21
tetradic
#21638C #80218C #8C4A21 #2D8C21
square
#21638C #80218C #8C4A21 #2D8C21
split-complementary
#21638C #8C212D #8C8021
monochromatic
#0A1D29 #15405A #21638C #2D86BE #51A3D6

Accessibility & contrast

On white

6.51
#21638C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#21638C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21638C
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21638C#FFFFFF#000000##FFFFFF
##21638C1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638E
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #21638c;
/* rgb */ color: rgb(33, 99, 140);
/* oklch */ color: oklch(47.8% 0.093 240.4);
Tailwind
colors: {
  custom: {
    50: '#6c8fae',
    500: '#21638c',
    950: '#000000',
  },
}
SCSS
$custom: #21638c;
$custom-light: #6c8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#21638c",
  "rgb": {
    "r": 33,
    "g": 99,
    "b": 140
  },
  "hsl": {
    "h": 202.991,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.09281,
    "h": 240.4
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#21638C
secondary
#B9784F
accent
#8143E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #21638C

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

Preview Lab → · Contrast checker → · Palette generator →

#21638C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva