#2F7AA2#2F7AA2

#2F7AA2 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.1% C 0.096 H 235.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F7AA2
RGBrgb(47, 122, 162)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 64%)
CMYKcmyk(71%, 24.7%, 0%, 36.5%)
CIE-LABlab(48.42, -9.60, -28.12)
CIE-LCHlch(48.42, 29.72, 251.15°)
OKLaboklab(55.1% -0.0539 -0.0791)
OKLCHoklch(55.1% 0.096 235.7)
XYZxyz(14.6508, 17.1304, 36.7098)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AA2 #A2572F
analogous
#2FA290 #2F7AA2 #2F40A2
triadic
#2F7AA2 #A22F7A #7AA22F
tetradic
#2F7AA2 #902FA2 #A2572F #40A22F
square
#2F7AA2 #902FA2 #A2572F #40A22F
split-complementary
#2F7AA2 #A22F40 #A2902F
monochromatic
#133343 #215673 #2F7AA2 #459BC9 #75B5D7

Accessibility & contrast

On white

4.74
#2F7AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F7AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AA2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AA2#FFFFFF#000000##FFFFFF
##2F7AA21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7aa2;
/* rgb */ color: rgb(47, 122, 162);
/* oklch */ color: oklch(55.1% 0.096 235.7);
Tailwind
colors: {
  custom: {
    50: '#76a0bd',
    500: '#2f7aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2f7aa2;
$custom-light: #76a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7aa2",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 200.87,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55104,
    "c": 0.09575,
    "h": 235.7
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#2F7AA2
secondary
#BF8A6E
accent
#7D49DE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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