#2287B1#2287B1

#2287B1 is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.7% C 0.108 H 231.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2287B1
RGBrgb(34, 135, 177)
HSLhsl(198, 68%, 41%)
HSVhsv(198, 81%, 69%)
CMYKcmyk(80.8%, 23.7%, 0%, 30.6%)
CIE-LABlab(52.77, -13.32, -30.07)
CIE-LCHlch(52.77, 32.88, 246.11°)
OKLaboklab(58.7% -0.0676 -0.0847)
OKLCHoklch(58.7% 0.108 231.4)
XYZxyz(17.2562, 20.8402, 44.6995)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2287B1 #B14C22
analogous
#22B194 #2287B1 #2240B1
triadic
#2287B1 #B12287 #87B122
tetradic
#2287B1 #9422B1 #B14C22 #40B122
square
#2287B1 #9422B1 #B14C22 #40B122
split-complementary
#2287B1 #B12240 #B19422
monochromatic
#0E394A #18607E #2287B1 #38A9D9 #6BBFE3

Accessibility & contrast

On white

4.06
#2287B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2287B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2287B1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2287B1#FFFFFF#000000##000000
##2287B11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B3
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2287b1;
/* rgb */ color: rgb(34, 135, 177);
/* oklch */ color: oklch(58.7% 0.108 231.4);
Tailwind
colors: {
  custom: {
    50: '#75aac8',
    500: '#2287b1',
    950: '#000000',
  },
}
SCSS
$custom: #2287b1;
$custom-light: #75aac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2287b1",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 177
  },
  "hsl": {
    "h": 197.622,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.1084,
    "h": 231.4
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

primary
#2287B1
secondary
#C98366
accent
#703DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2287B1

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

Preview Lab → · Contrast checker → · Palette generator →

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