#2F7FB0#2F7FB0

#2F7FB0 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.107 H 239.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F7FB0
RGBrgb(47, 127, 176)
HSLhsl(203, 58%, 44%)
HSVhsv(203, 73%, 69%)
CMYKcmyk(73.3%, 27.8%, 0%, 31%)
CIE-LABlab(50.59, -7.56, -32.88)
CIE-LCHlch(50.59, 33.74, 257.05°)
OKLaboklab(57.03% -0.0542 -0.0928)
OKLCHoklch(57.03% 0.107 239.7)
XYZxyz(16.5951, 18.9158, 43.8424)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FB0 #B0602F
analogous
#2FB0A0 #2F7FB0 #2F3EB0
triadic
#2F7FB0 #B02F7F #7FB02F
tetradic
#2F7FB0 #A02FB0 #B0602F #3EB02F
square
#2F7FB0 #A02FB0 #B0602F #3EB02F
split-complementary
#2F7FB0 #B02F3E #B0A02F
monochromatic
#15394F #225C80 #2F7FB0 #4D9ECF #7DB8DC

Accessibility & contrast

On white

4.39
#2F7FB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F7FB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FB0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FB0#FFFFFF#000000##000000
##2F7FB01.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB2
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7fb0;
/* rgb */ color: rgb(47, 127, 176);
/* oklch */ color: oklch(57.0% 0.107 239.7);
Tailwind
colors: {
  custom: {
    50: '#79a4c8',
    500: '#2f7fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fb0;
$custom-light: #79a4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fb0",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 176
  },
  "hsl": {
    "h": 202.791,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.10749,
    "h": 239.7
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#2F7FB0
secondary
#C59476
accent
#8147E1
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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