#2F87A2#2F87A2

#2F87A2 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.091 H 222.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F87A2
RGBrgb(47, 135, 162)
HSLhsl(194, 55%, 41%)
HSVhsv(194, 71%, 64%)
CMYKcmyk(71%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.44, -16.90, -21.91)
CIE-LCHlch(52.44, 27.67, 232.36°)
OKLaboklab(58.31% -0.0675 -0.0612)
OKLCHoklch(58.31% 0.091 222.2)
XYZxyz(16.3552, 20.5391, 37.2779)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F87A2 #A24A2F
analogous
#2FA283 #2F87A2 #2F4DA2
triadic
#2F87A2 #A22F87 #87A22F
tetradic
#2F87A2 #832FA2 #A24A2F #4DA22F
square
#2F87A2 #832FA2 #A24A2F #4DA22F
split-complementary
#2F87A2 #A22F4D #A2832F
monochromatic
#133843 #215F73 #2F87A2 #45AAC9 #75C0D7

Accessibility & contrast

On white

4.11
#2F87A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2F87A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F87A2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F87A2#FFFFFF#000000##000000
##2F87A21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A3
Deuteranopia (green-blind)
#6778A2
Tritanopia (blue-blind)
#008F90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f87a2;
/* rgb */ color: rgb(47, 135, 162);
/* oklch */ color: oklch(58.3% 0.091 222.2);
Tailwind
colors: {
  custom: {
    50: '#77aabd',
    500: '#2f87a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f87a2;
$custom-light: #77aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f87a2",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 194.087,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.09111,
    "h": 222.2
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

primary
#2F87A2
secondary
#BF816E
accent
#6C49DE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F87A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2F87A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva