#2287B3#2287B3

#2287B3 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.110 H 232.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2287B3
RGBrgb(34, 135, 179)
HSLhsl(198, 68%, 42%)
HSVhsv(198, 81%, 70%)
CMYKcmyk(81%, 24.6%, 0%, 29.8%)
CIE-LABlab(52.86, -12.61, -31.08)
CIE-LCHlch(52.86, 33.54, 247.92°)
OKLaboklab(58.8% -0.0669 -0.0876)
OKLCHoklch(58.8% 0.11 232.6)
XYZxyz(17.4570, 20.9205, 45.7571)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2287B3 #B34E22
analogous
#22B397 #2287B3 #223FB3
triadic
#2287B3 #B32287 #87B322
tetradic
#2287B3 #9722B3 #B34E22 #3FB322
square
#2287B3 #9722B3 #B34E22 #3FB322
split-complementary
#2287B3 #B3223F #B39722
monochromatic
#0E394C #186080 #2287B3 #39A9D9 #6CBFE3

Accessibility & contrast

On white

4.05
#2287B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2287B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2287B3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2287B3#FFFFFF#000000##000000
##2287B31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B5
Deuteranopia (green-blind)
#5E78B2
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2287b3;
/* rgb */ color: rgb(34, 135, 179);
/* oklch */ color: oklch(58.8% 0.110 232.6);
Tailwind
colors: {
  custom: {
    50: '#76aaca',
    500: '#2287b3',
    950: '#000000',
  },
}
SCSS
$custom: #2287b3;
$custom-light: #76aaca;
$custom-dark: #000000;
JSON
{
  "hex": "#2287b3",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 198.207,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.11026,
    "h": 232.6
  },
  "luminance": 0.20923
}

Semantic roles & 50–950 ramp

primary
#2287B3
secondary
#C98568
accent
#723DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2287B3

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

Preview Lab → · Contrast checker → · Palette generator →

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