#2F7CA7#2F7CA7

#2F7CA7 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.100 H 237.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7CA7
RGBrgb(47, 124, 167)
HSLhsl(202, 56%, 42%)
HSVhsv(202, 72%, 65%)
CMYKcmyk(71.9%, 25.7%, 0%, 34.5%)
CIE-LABlab(49.26, -9.00, -29.73)
CIE-LCHlch(49.26, 31.07, 253.15°)
OKLaboklab(55.85% -0.0542 -0.0837)
OKLCHoklch(55.85% 0.1 237.1)
XYZxyz(15.3523, 17.8079, 39.1799)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CA7 #A75A2F
analogous
#2FA796 #2F7CA7 #2F40A7
triadic
#2F7CA7 #A72F7C #7CA72F
tetradic
#2F7CA7 #962FA7 #A75A2F #40A72F
square
#2F7CA7 #962FA7 #A75A2F #40A72F
split-complementary
#2F7CA7 #A72F40 #A7962F
monochromatic
#143547 #225977 #2F7CA7 #489CCB #78B6D9

Accessibility & contrast

On white

4.60
#2F7CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2F7CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7CA7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CA7#FFFFFF#000000##FFFFFF
##2F7CA71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687CA9
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ca7;
/* rgb */ color: rgb(47, 124, 167);
/* oklch */ color: oklch(55.8% 0.100 237.1);
Tailwind
colors: {
  custom: {
    50: '#77a1c1',
    500: '#2f7ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ca7;
$custom-light: #77a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ca7",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 201.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.09977,
    "h": 237.1
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#2F7CA7
secondary
#C18E71
accent
#7F48DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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