#2187A2#2187A2

#2187A2 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.097 H 220.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2187A2
RGBrgb(33, 135, 162)
HSLhsl(193, 66%, 38%)
HSVhsv(193, 80%, 64%)
CMYKcmyk(79.6%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.13, -18.67, -22.42)
CIE-LCHlch(52.13, 29.18, 230.21°)
OKLaboklab(57.97% -0.0737 -0.0628)
OKLCHoklch(57.97% 0.097 220.4)
XYZxyz(15.8100, 20.2580, 37.2523)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2187A2 #A23C21
analogous
#21A27C #2187A2 #2146A2
triadic
#2187A2 #A22187 #87A221
tetradic
#2187A2 #7C21A2 #A23C21 #46A221
square
#2187A2 #7C21A2 #A23C21 #46A221
split-complementary
#2187A2 #A22146 #A27C21
monochromatic
#0C323C #175D6F #2187A2 #2CB1D4 #5FC4DE

Accessibility & contrast

On white

4.16
#2187A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2187A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2187A2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2187A2#FFFFFF#000000##000000
##2187A21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A3
Deuteranopia (green-blind)
#6677A2
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2187a2;
/* rgb */ color: rgb(33, 135, 162);
/* oklch */ color: oklch(58.0% 0.097 220.4);
Tailwind
colors: {
  custom: {
    50: '#73aabd',
    500: '#2187a2',
    950: '#000000',
  },
}
SCSS
$custom: #2187a2;
$custom-light: #73aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#2187a2",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 192.558,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.09683,
    "h": 220.4
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#2187A2
secondary
#C3715C
accent
#623FE9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #2187A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2187A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva