#2287AF#2287AF

#2287AF is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.107 H 230.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2287AF
RGBrgb(34, 135, 175)
HSLhsl(197, 67%, 41%)
HSVhsv(197, 81%, 69%)
CMYKcmyk(80.6%, 22.9%, 0%, 31.4%)
CIE-LABlab(52.69, -14.03, -29.05)
CIE-LCHlch(52.69, 32.26, 244.22°)
OKLaboklab(58.6% -0.0684 -0.0818)
OKLCHoklch(58.6% 0.107 230.1)
XYZxyz(17.0584, 20.7611, 43.6574)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2287AF #AF4A22
analogous
#22AF90 #2287AF #2241AF
triadic
#2287AF #AF2287 #87AF22
tetradic
#2287AF #9022AF #AF4A22 #41AF22
square
#2287AF #9022AF #AF4A22 #41AF22
split-complementary
#2287AF #AF2241 #AF9022
monochromatic
#0E3849 #185F7C #2287AF #36AAD8 #69C0E2

Accessibility & contrast

On white

4.08
#2287AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#2287AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2287AF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2287AF#FFFFFF#000000##000000
##2287AF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B1
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2287af;
/* rgb */ color: rgb(34, 135, 175);
/* oklch */ color: oklch(58.6% 0.107 230.1);
Tailwind
colors: {
  custom: {
    50: '#75aac7',
    500: '#2287af',
    950: '#000000',
  },
}
SCSS
$custom: #2287af;
$custom-light: #75aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2287af",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 197.021,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.10659,
    "h": 230.1
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#2287AF
secondary
#C88165
accent
#6E3DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2287AF

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

Preview Lab → · Contrast checker → · Palette generator →

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