#21638E#21638E

#21638E is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 47.9% C 0.095 H 241.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#21638E
RGBrgb(33, 99, 142)
HSLhsl(204, 62%, 34%)
HSVhsv(204, 77%, 56%)
CMYKcmyk(76.8%, 30.3%, 0%, 44.3%)
CIE-LABlab(39.91, -5.20, -29.59)
CIE-LCHlch(39.91, 30.05, 260.03°)
OKLaboklab(47.93% -0.0452 -0.0837)
OKLCHoklch(47.93% 0.095 241.6)
XYZxyz(9.9696, 11.1988, 27.2221)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21638E #8E4C21
analogous
#218E83 #21638E #212C8E
triadic
#21638E #8E2163 #638E21
tetradic
#21638E #83218E #8E4C21 #2C8E21
square
#21638E #83218E #8E4C21 #2C8E21
split-complementary
#21638E #8E212C #8E8321
monochromatic
#0A1E2B #15405C #21638E #2D86C0 #52A3D7

Accessibility & contrast

On white

6.48
#21638E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#21638E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21638E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21638E#FFFFFF#000000##FFFFFF
##21638E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#40598D
Tritanopia (blue-blind)
#006E72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #21638e;
/* rgb */ color: rgb(33, 99, 142);
/* oklch */ color: oklch(47.9% 0.095 241.6);
Tailwind
colors: {
  custom: {
    50: '#6d8faf',
    500: '#21638e',
    950: '#000000',
  },
}
SCSS
$custom: #21638e;
$custom-light: #6d8faf;
$custom-dark: #000000;
JSON
{
  "hex": "#21638e",
  "rgb": {
    "r": 33,
    "g": 99,
    "b": 142
  },
  "hsl": {
    "h": 203.67,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.09516,
    "h": 241.6
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#21638E
secondary
#BA7A50
accent
#8342E5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #21638E

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

Preview Lab → · Contrast checker → · Palette generator →

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