#21638F#21638F

#21638F is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.0% C 0.096 H 242.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#21638F
RGBrgb(33, 99, 143)
HSLhsl(204, 63%, 35%)
HSVhsv(204, 77%, 56%)
CMYKcmyk(76.9%, 30.8%, 0%, 43.9%)
CIE-LABlab(39.96, -4.83, -30.12)
CIE-LCHlch(39.96, 30.50, 260.90°)
OKLaboklab(47.98% -0.0449 -0.0853)
OKLCHoklch(47.98% 0.096 242.2)
XYZxyz(10.0450, 11.2290, 27.6193)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21638F #8F4D21
analogous
#218F84 #21638F #212C8F
triadic
#21638F #8F2163 #638F21
tetradic
#21638F #84218F #8F4D21 #2C8F21
square
#21638F #84218F #8F4D21 #2C8F21
split-complementary
#21638F #8F212C #8F8421
monochromatic
#0A1E2C #16415D #21638F #2C85C1 #53A2D7

Accessibility & contrast

On white

6.47
#21638F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#21638F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21638F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21638F#FFFFFF#000000##FFFFFF
##21638F1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6491
Deuteranopia (green-blind)
#3F5A8E
Tritanopia (blue-blind)
#006E72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #21638f;
/* rgb */ color: rgb(33, 99, 143);
/* oklch */ color: oklch(48.0% 0.096 242.2);
Tailwind
colors: {
  custom: {
    50: '#6d8fb0',
    500: '#21638f',
    950: '#000000',
  },
}
SCSS
$custom: #21638f;
$custom-light: #6d8fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#21638f",
  "rgb": {
    "r": 33,
    "g": 99,
    "b": 143
  },
  "hsl": {
    "h": 204,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.09634,
    "h": 242.2
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#21638F
secondary
#BB7B51
accent
#8442E6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #21638F

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

Preview Lab → · Contrast checker → · Palette generator →

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