#2F7EA3#2F7EA3

#2F7EA3 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.095 H 232.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F7EA3
RGBrgb(47, 126, 163)
HSLhsl(199, 55%, 41%)
HSVhsv(199, 71%, 64%)
CMYKcmyk(71.2%, 22.7%, 0%, 36.1%)
CIE-LABlab(49.70, -11.55, -26.72)
CIE-LCHlch(49.70, 29.11, 246.63°)
OKLaboklab(56.14% -0.0577 -0.075)
OKLCHoklch(56.14% 0.095 232.4)
XYZxyz(15.2414, 18.1687, 37.3469)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA3 #A3542F
analogous
#2FA38E #2F7EA3 #2F44A3
triadic
#2F7EA3 #A32F7E #7EA32F
tetradic
#2F7EA3 #8E2FA3 #A3542F #44A32F
square
#2F7EA3 #8E2FA3 #A3542F #44A32F
split-complementary
#2F7EA3 #A32F44 #A38E2F
monochromatic
#143544 #215973 #2F7EA3 #469FCA #75B8D7

Accessibility & contrast

On white

4.53
#2F7EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2F7EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EA3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EA3#FFFFFF#000000##000000
##2F7EA31.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA5
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7ea3;
/* rgb */ color: rgb(47, 126, 163);
/* oklch */ color: oklch(56.1% 0.095 232.4);
Tailwind
colors: {
  custom: {
    50: '#76a3be',
    500: '#2f7ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea3;
$custom-light: #76a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea3",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 199.138,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.09468,
    "h": 232.4
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#2F7EA3
secondary
#BF886F
accent
#7949DF
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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