#2F7EA4#2F7EA4

#2F7EA4 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.096 H 233.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7EA4
RGBrgb(47, 126, 164)
HSLhsl(199, 55%, 41%)
HSVhsv(199, 71%, 64%)
CMYKcmyk(71.3%, 23.2%, 0%, 35.7%)
CIE-LABlab(49.74, -11.20, -27.24)
CIE-LCHlch(49.74, 29.45, 247.65°)
OKLaboklab(56.18% -0.0574 -0.0765)
OKLCHoklch(56.18% 0.096 233.2)
XYZxyz(15.3313, 18.2047, 37.8206)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA4 #A4552F
analogous
#2FA490 #2F7EA4 #2F44A4
triadic
#2F7EA4 #A42F7E #7EA42F
tetradic
#2F7EA4 #902FA4 #A4552F #44A42F
square
#2F7EA4 #902FA4 #A4552F #44A42F
split-complementary
#2F7EA4 #A42F44 #A4902F
monochromatic
#143545 #215974 #2F7EA4 #469FCA #76B8D8

Accessibility & contrast

On white

4.52
#2F7EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2F7EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EA4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EA4#FFFFFF#000000##000000
##2F7EA41.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA6
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7ea4;
/* rgb */ color: rgb(47, 126, 164);
/* oklch */ color: oklch(56.2% 0.096 233.2);
Tailwind
colors: {
  custom: {
    50: '#77a3bf',
    500: '#2f7ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea4;
$custom-light: #77a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea4",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 199.487,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.09565,
    "h": 233.2
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#2F7EA4
secondary
#C0896F
accent
#7A49DF
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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