#2F7EAB#2F7EAB

#2F7EAB is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.103 H 237.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7EAB
RGBrgb(47, 126, 171)
HSLhsl(202, 57%, 43%)
HSVhsv(202, 73%, 67%)
CMYKcmyk(72.5%, 26.3%, 0%, 32.9%)
CIE-LABlab(50.05, -8.75, -30.82)
CIE-LCHlch(50.05, 32.04, 254.15°)
OKLaboklab(56.53% -0.0549 -0.0869)
OKLCHoklch(56.53% 0.103 237.7)
XYZxyz(15.9809, 18.4645, 41.2419)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EAB #AB5C2F
analogous
#2FAB9A #2F7EAB #2F40AB
triadic
#2F7EAB #AB2F7E #7EAB2F
tetradic
#2F7EAB #9A2FAB #AB5C2F #40AB2F
square
#2F7EAB #9A2FAB #AB5C2F #40AB2F
split-complementary
#2F7EAB #AB2F40 #AB9A2F
monochromatic
#15374B #225B7B #2F7EAB #4A9ECD #7AB7DA

Accessibility & contrast

On white

4.47
#2F7EAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2F7EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EAB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EAB#FFFFFF#000000##000000
##2F7EAB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7eab;
/* rgb */ color: rgb(47, 126, 171);
/* oklch */ color: oklch(56.5% 0.103 237.7);
Tailwind
colors: {
  custom: {
    50: '#78a3c4',
    500: '#2f7eab',
    950: '#000000',
  },
}
SCSS
$custom: #2f7eab;
$custom-light: #78a3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7eab",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 171
  },
  "hsl": {
    "h": 201.774,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.10277,
    "h": 237.7
  },
  "luminance": 0.18466
}

Semantic roles & 50–950 ramp

primary
#2F7EAB
secondary
#C39073
accent
#7F48E0
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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