#21658E#21658E

#21658E is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.4% C 0.094 H 239.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#21658E
RGBrgb(33, 101, 142)
HSLhsl(203, 62%, 34%)
HSVhsv(203, 77%, 56%)
CMYKcmyk(76.8%, 28.9%, 0%, 44.3%)
CIE-LABlab(40.54, -6.42, -28.60)
CIE-LCHlch(40.54, 29.31, 257.35°)
OKLaboklab(48.43% -0.0472 -0.0808)
OKLCHoklch(48.43% 0.094 239.7)
XYZxyz(10.1614, 11.5825, 27.2860)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21658E #8E4A21
analogous
#218E81 #21658E #212E8E
triadic
#21658E #8E2165 #658E21
tetradic
#21658E #81218E #8E4A21 #2E8E21
square
#21658E #81218E #8E4A21 #2E8E21
split-complementary
#21658E #8E212E #8E8121
monochromatic
#0A1E2B #15425C #21658E #2D88C0 #52A5D7

Accessibility & contrast

On white

6.33
#21658E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#21658E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21658E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21658E#FFFFFF#000000##FFFFFF
##21658E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526590
Deuteranopia (green-blind)
#435B8D
Tritanopia (blue-blind)
#006F73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #21658e;
/* rgb */ color: rgb(33, 101, 142);
/* oklch */ color: oklch(48.4% 0.094 239.7);
Tailwind
colors: {
  custom: {
    50: '#6d90af',
    500: '#21658e',
    950: '#000000',
  },
}
SCSS
$custom: #21658e;
$custom-light: #6d90af;
$custom-dark: #000000;
JSON
{
  "hex": "#21658e",
  "rgb": {
    "r": 33,
    "g": 101,
    "b": 142
  },
  "hsl": {
    "h": 202.569,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.48427,
    "c": 0.09362,
    "h": 239.7
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#21658E
secondary
#BA7850
accent
#8042E5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #21658E

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

Preview Lab → · Contrast checker → · Palette generator →

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