#2F7EA6#2F7EA6

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

Color values

HEX#2F7EA6
RGBrgb(47, 126, 166)
HSLhsl(200, 56%, 42%)
HSVhsv(200, 72%, 65%)
CMYKcmyk(71.7%, 24.1%, 0%, 34.9%)
CIE-LABlab(49.83, -10.50, -28.27)
CIE-LCHlch(49.83, 30.15, 249.61°)
OKLaboklab(56.28% -0.0566 -0.0795)
OKLCHoklch(56.28% 0.098 234.5)
XYZxyz(15.5134, 18.2775, 38.7793)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA6 #A6572F
analogous
#2FA693 #2F7EA6 #2F43A6
triadic
#2F7EA6 #A62F7E #7EA62F
tetradic
#2F7EA6 #932FA6 #A6572F #43A62F
square
#2F7EA6 #932FA6 #A6572F #43A62F
split-complementary
#2F7EA6 #A62F43 #A6932F
monochromatic
#143647 #215A76 #2F7EA6 #479FCB #77B8D8

Accessibility & contrast

On white

4.51
#2F7EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7EA6#FFFFFF#000000##000000
##2F7EA61.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA8
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7ea6;
/* rgb */ color: rgb(47, 126, 166);
/* oklch */ color: oklch(56.3% 0.098 234.5);
Tailwind
colors: {
  custom: {
    50: '#77a3c0',
    500: '#2f7ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea6;
$custom-light: #77a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea6",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 200.168,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.09761,
    "h": 234.5
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#2F7EA6
secondary
#C18B70
accent
#7B49DF
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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