#21638B#21638B

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

Color values

HEX#21638B
RGBrgb(33, 99, 139)
HSLhsl(203, 62%, 34%)
HSVhsv(203, 76%, 55%)
CMYKcmyk(76.3%, 28.8%, 0%, 45.5%)
CIE-LABlab(39.77, -6.33, -28.02)
CIE-LCHlch(39.77, 28.72, 257.27°)
OKLaboklab(47.76% -0.0462 -0.0792)
OKLCHoklch(47.76% 0.092 239.7)
XYZxyz(9.7474, 11.1100, 26.0518)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21638B #8B4921
analogous
#218B7E #21638B #212E8B
triadic
#21638B #8B2163 #638B21
tetradic
#21638B #7E218B #8B4921 #2E8B21
square
#21638B #7E218B #8B4921 #2E8B21
split-complementary
#21638B #8B212E #8B7E21
monochromatic
#0A1D28 #15405A #21638B #2D86BC #51A3D6

Accessibility & contrast

On white

6.52
#21638B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#21638B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21638B
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21638B#FFFFFF#000000##FFFFFF
##21638B1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638D
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #21638b;
/* rgb */ color: rgb(33, 99, 139);
/* oklch */ color: oklch(47.8% 0.092 239.7);
Tailwind
colors: {
  custom: {
    50: '#6c8fad',
    500: '#21638b',
    950: '#000000',
  },
}
SCSS
$custom: #21638b;
$custom-light: #6c8fad;
$custom-dark: #000000;
JSON
{
  "hex": "#21638b",
  "rgb": {
    "r": 33,
    "g": 99,
    "b": 139
  },
  "hsl": {
    "h": 202.642,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.09166,
    "h": 239.7
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#21638B
secondary
#B9774F
accent
#8043E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #21638B

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

Preview Lab → · Contrast checker → · Palette generator →

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