#2F7EB3#2F7EB3

#2F7EB3 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.112 H 242.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F7EB3
RGBrgb(47, 126, 179)
HSLhsl(204, 58%, 44%)
HSVhsv(204, 74%, 70%)
CMYKcmyk(73.7%, 29.6%, 0%, 29.8%)
CIE-LABlab(50.43, -5.91, -34.86)
CIE-LCHlch(50.43, 35.36, 260.38°)
OKLaboklab(56.95% -0.0522 -0.0986)
OKLCHoklch(56.95% 0.112 242.1)
XYZxyz(16.7667, 18.7788, 45.3801)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EB3 #B3642F
analogous
#2FB3A6 #2F7EB3 #2F3CB3
triadic
#2F7EB3 #B32F7E #7EB32F
tetradic
#2F7EB3 #A62FB3 #B3642F #3CB32F
square
#2F7EB3 #A62FB3 #B3642F #3CB32F
split-complementary
#2F7EB3 #B32F3C #B3A62F
monochromatic
#163A52 #225C83 #2F7EB3 #4F9CD1 #7FB7DD

Accessibility & contrast

On white

4.42
#2F7EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2F7EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EB3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EB3#FFFFFF#000000##000000
##2F7EB31.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB5
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7eb3;
/* rgb */ color: rgb(47, 126, 179);
/* oklch */ color: oklch(57.0% 0.112 242.1);
Tailwind
colors: {
  custom: {
    50: '#79a3ca',
    500: '#2f7eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7eb3;
$custom-light: #79a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7eb3",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 204.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.11159,
    "h": 242.1
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#2F7EB3
secondary
#C69778
accent
#8546E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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