#2287A2#2287A2

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

Color values

HEX#2287A2
RGBrgb(34, 135, 162)
HSLhsl(193, 65%, 38%)
HSVhsv(193, 79%, 64%)
CMYKcmyk(79%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.15, -18.57, -22.39)
CIE-LCHlch(52.15, 29.09, 230.33°)
OKLaboklab(57.99% -0.0734 -0.0627)
OKLCHoklch(57.99% 0.096 220.5)
XYZxyz(15.8425, 20.2747, 37.2539)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2287A2 #A23D22
analogous
#22A27D #2287A2 #2247A2
triadic
#2287A2 #A22287 #87A222
tetradic
#2287A2 #7D22A2 #A23D22 #47A222
square
#2287A2 #7D22A2 #A23D22 #47A222
split-complementary
#2287A2 #A22247 #A27D22
monochromatic
#0D333D #175D6F #2287A2 #2EB0D3 #61C3DE

Accessibility & contrast

On white

4.15
#2287A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2287A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2287A2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2287A2#FFFFFF#000000##000000
##2287A21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.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: #2287a2;
/* rgb */ color: rgb(34, 135, 162);
/* oklch */ color: oklch(58.0% 0.096 220.5);
Tailwind
colors: {
  custom: {
    50: '#73aabd',
    500: '#2287a2',
    950: '#000000',
  },
}
SCSS
$custom: #2287a2;
$custom-light: #73aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#2287a2",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 192.656,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.09648,
    "h": 220.5
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#2287A2
secondary
#C3735D
accent
#6340E8
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #2287A2

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

Preview Lab → · Contrast checker → · Palette generator →

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