#2281A2#2281A2

#2281A2 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.5% C 0.098 H 226.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2281A2
RGBrgb(34, 129, 162)
HSLhsl(195, 65%, 38%)
HSVhsv(195, 79%, 64%)
CMYKcmyk(79%, 20.4%, 0%, 36.5%)
CIE-LABlab(50.27, -15.28, -25.28)
CIE-LCHlch(50.27, 29.54, 238.85°)
OKLaboklab(56.49% -0.0674 -0.071)
OKLCHoklch(56.49% 0.098 226.5)
XYZxyz(15.0288, 18.6474, 36.9826)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2281A2 #A24322
analogous
#22A283 #2281A2 #2241A2
triadic
#2281A2 #A22281 #81A222
tetradic
#2281A2 #8322A2 #A24322 #41A222
square
#2281A2 #8322A2 #A24322 #41A222
split-complementary
#2281A2 #A22241 #A28322
monochromatic
#0D303D #17596F #2281A2 #2EA9D3 #61BEDE

Accessibility & contrast

On white

4.44
#2281A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2281A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2281A2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2281A2#FFFFFF#000000##000000
##2281A21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7EA4
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#008B8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2281a2;
/* rgb */ color: rgb(34, 129, 162);
/* oklch */ color: oklch(56.5% 0.098 226.5);
Tailwind
colors: {
  custom: {
    50: '#72a5bd',
    500: '#2281a2',
    950: '#000000',
  },
}
SCSS
$custom: #2281a2;
$custom-light: #72a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2281a2",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 195.469,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.0979,
    "h": 226.5
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#2281A2
secondary
#C3775D
accent
#6B40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2281A2

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

Preview Lab → · Contrast checker → · Palette generator →

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