#2F7FB1#2F7FB1

#2F7FB1 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.109 H 240.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7FB1
RGBrgb(47, 127, 177)
HSLhsl(203, 58%, 44%)
HSVhsv(203, 73%, 69%)
CMYKcmyk(73.4%, 28.2%, 0%, 30.6%)
CIE-LABlab(50.64, -7.21, -33.38)
CIE-LCHlch(50.64, 34.15, 257.82°)
OKLaboklab(57.08% -0.0539 -0.0943)
OKLCHoklch(57.08% 0.109 240.3)
XYZxyz(16.6944, 18.9555, 44.3654)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FB1 #B1612F
analogous
#2FB1A2 #2F7FB1 #2F3EB1
triadic
#2F7FB1 #B12F7F #7FB12F
tetradic
#2F7FB1 #A22FB1 #B1612F #3EB12F
square
#2F7FB1 #A22FB1 #B1612F #3EB12F
split-complementary
#2F7FB1 #B12F3E #B1A22F
monochromatic
#153A50 #225C81 #2F7FB1 #4D9ED0 #7EB8DD

Accessibility & contrast

On white

4.38
#2F7FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F7FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FB1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FB1#FFFFFF#000000##000000
##2F7FB11.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB3
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7fb1;
/* rgb */ color: rgb(47, 127, 177);
/* oklch */ color: oklch(57.1% 0.109 240.3);
Tailwind
colors: {
  custom: {
    50: '#79a4c8',
    500: '#2f7fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fb1;
$custom-light: #79a4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fb1",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 203.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.1086,
    "h": 240.3
  },
  "luminance": 0.18957
}

Semantic roles & 50–950 ramp

primary
#2F7FB1
secondary
#C59576
accent
#8247E1
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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