#2287BD#2287BD

#2287BD is a mid, vivid cyan. Relative luminance 0.213; OKLCH L 59.3% C 0.120 H 238.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2287BD
RGBrgb(34, 135, 189)
HSLhsl(201, 70%, 44%)
HSVhsv(201, 82%, 74%)
CMYKcmyk(82%, 28.6%, 0%, 25.9%)
CIE-LABlab(53.32, -9.00, -36.09)
CIE-LCHlch(53.32, 37.19, 256.00°)
OKLaboklab(59.32% -0.0635 -0.1022)
OKLCHoklch(59.32% 0.12 238.1)
XYZxyz(18.5053, 21.3398, 51.2779)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2287BD #BD5822
analogous
#22BDA5 #2287BD #2239BD
triadic
#2287BD #BD2287 #87BD22
tetradic
#2287BD #A522BD #BD5822 #39BD22
square
#2287BD #A522BD #BD5822 #39BD22
split-complementary
#2287BD #BD2239 #BDA522
monochromatic
#0F3D55 #196289 #2287BD #40A6DD #73BEE6

Accessibility & contrast

On white

3.99
#2287BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#2287BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2287BD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2287BD#FFFFFF#000000##000000
##2287BD1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BF
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#00959A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2287bd;
/* rgb */ color: rgb(34, 135, 189);
/* oklch */ color: oklch(59.3% 0.120 238.1);
Tailwind
colors: {
  custom: {
    50: '#77a9d1',
    500: '#2287bd',
    950: '#000000',
  },
}
SCSS
$custom: #2287bd;
$custom-light: #77a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2287bd",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 200.903,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.12029,
    "h": 238.1
  },
  "luminance": 0.21342
}

Semantic roles & 50–950 ramp

primary
#2287BD
secondary
#CD8F6E
accent
#793BEC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A0F14
muted
#7C7F82

Preview Lab

Preview with #2287BD

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

Preview Lab → · Contrast checker → · Palette generator →

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