#2F7CA8#2F7CA8

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

Color values

HEX#2F7CA8
RGBrgb(47, 124, 168)
HSLhsl(202, 56%, 42%)
HSVhsv(202, 72%, 66%)
CMYKcmyk(72%, 26.2%, 0%, 34.1%)
CIE-LABlab(49.31, -8.65, -30.24)
CIE-LCHlch(49.31, 31.46, 254.04°)
OKLaboklab(55.9% -0.0539 -0.0852)
OKLCHoklch(55.9% 0.101 237.7)
XYZxyz(15.4451, 17.8451, 39.6686)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CA8 #A85B2F
analogous
#2FA898 #2F7CA8 #2F40A8
triadic
#2F7CA8 #A82F7C #7CA82F
tetradic
#2F7CA8 #982FA8 #A85B2F #40A82F
square
#2F7CA8 #982FA8 #A85B2F #40A82F
split-complementary
#2F7CA8 #A82F40 #A8982F
monochromatic
#143548 #225978 #2F7CA8 #489CCC #78B6D9

Accessibility & contrast

On white

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

On black

4.57
#2F7CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7CA8#FFFFFF#000000##FFFFFF
##2F7CA81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ca8;
/* rgb */ color: rgb(47, 124, 168);
/* oklch */ color: oklch(55.9% 0.101 237.7);
Tailwind
colors: {
  custom: {
    50: '#77a1c2',
    500: '#2f7ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ca8;
$custom-light: #77a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ca8",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 201.818,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.10084,
    "h": 237.7
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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