#2F7EA7#2F7EA7

#2F7EA7 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.099 H 235.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F7EA7
RGBrgb(47, 126, 167)
HSLhsl(201, 56%, 42%)
HSVhsv(201, 72%, 65%)
CMYKcmyk(71.9%, 24.6%, 0%, 34.5%)
CIE-LABlab(49.88, -10.16, -28.78)
CIE-LCHlch(49.88, 30.52, 250.56°)
OKLaboklab(56.33% -0.0563 -0.081)
OKLCHoklch(56.33% 0.099 235.2)
XYZxyz(15.6054, 18.3143, 39.2643)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA7 #A7582F
analogous
#2FA794 #2F7EA7 #2F42A7
triadic
#2F7EA7 #A72F7E #7EA72F
tetradic
#2F7EA7 #942FA7 #A7582F #42A72F
square
#2F7EA7 #942FA7 #A7582F #42A72F
split-complementary
#2F7EA7 #A72F42 #A7942F
monochromatic
#143647 #225A77 #2F7EA7 #489ECB #78B8D9

Accessibility & contrast

On white

4.50
#2F7EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2F7EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EA7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EA7#FFFFFF#000000##000000
##2F7EA71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#5A71A6
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7ea7;
/* rgb */ color: rgb(47, 126, 167);
/* oklch */ color: oklch(56.3% 0.099 235.2);
Tailwind
colors: {
  custom: {
    50: '#77a3c1',
    500: '#2f7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea7;
$custom-light: #77a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea7",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 200.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56332,
    "c": 0.09862,
    "h": 235.2
  },
  "luminance": 0.18316
}

Semantic roles & 50–950 ramp

primary
#2F7EA7
secondary
#C18C71
accent
#7C48DF
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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