#2287A4#2287A4

#2287A4 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.1% C 0.098 H 222.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2287A4
RGBrgb(34, 135, 164)
HSLhsl(193, 66%, 39%)
HSVhsv(193, 79%, 64%)
CMYKcmyk(79.3%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.23, -17.88, -23.42)
CIE-LCHlch(52.23, 29.47, 232.65°)
OKLaboklab(58.08% -0.0726 -0.0656)
OKLCHoklch(58.08% 0.098 222.1)
XYZxyz(16.0217, 20.3464, 38.1976)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2287A4 #A43F22
analogous
#22A480 #2287A4 #2246A4
triadic
#2287A4 #A42287 #87A422
tetradic
#2287A4 #8022A4 #A43F22 #46A422
square
#2287A4 #8022A4 #A43F22 #46A422
split-complementary
#2287A4 #A42246 #A48022
monochromatic
#0D343F #175D71 #2287A4 #2FAFD4 #62C3DE

Accessibility & contrast

On white

4.14
#2287A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2287A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2287A4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2287A4#FFFFFF#000000##000000
##2287A41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A6
Deuteranopia (green-blind)
#6577A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2287a4;
/* rgb */ color: rgb(34, 135, 164);
/* oklch */ color: oklch(58.1% 0.098 222.1);
Tailwind
colors: {
  custom: {
    50: '#73aabf',
    500: '#2287a4',
    950: '#000000',
  },
}
SCSS
$custom: #2287a4;
$custom-light: #73aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2287a4",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 193.385,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.09783,
    "h": 222.1
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#2287A4
secondary
#C4755E
accent
#653FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #2287A4

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

Preview Lab → · Contrast checker → · Palette generator →

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