#2F7EB2#2F7EB2

#2F7EB2 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.110 H 241.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F7EB2
RGBrgb(47, 126, 178)
HSLhsl(204, 58%, 44%)
HSVhsv(204, 74%, 70%)
CMYKcmyk(73.6%, 29.2%, 0%, 30.2%)
CIE-LABlab(50.38, -6.26, -34.36)
CIE-LCHlch(50.38, 34.93, 259.67°)
OKLaboklab(56.9% -0.0526 -0.0971)
OKLCHoklch(56.9% 0.11 241.6)
XYZxyz(16.6659, 18.7385, 44.8494)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EB2 #B2632F
analogous
#2FB2A5 #2F7EB2 #2F3DB2
triadic
#2F7EB2 #B22F7E #7EB22F
tetradic
#2F7EB2 #A52FB2 #B2632F #3DB22F
square
#2F7EB2 #A52FB2 #B2632F #3DB22F
split-complementary
#2F7EB2 #B22F3D #B2A52F
monochromatic
#153951 #225C82 #2F7EB2 #4E9DD0 #7EB7DD

Accessibility & contrast

On white

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

On black

4.75
#2F7EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EB2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EB2#FFFFFF#000000##000000
##2F7EB21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7eb2;
/* rgb */ color: rgb(47, 126, 178);
/* oklch */ color: oklch(56.9% 0.110 241.6);
Tailwind
colors: {
  custom: {
    50: '#79a3c9',
    500: '#2f7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f7eb2;
$custom-light: #79a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7eb2",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 203.817,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.11046,
    "h": 241.6
  },
  "luminance": 0.1874
}

Semantic roles & 50–950 ramp

primary
#2F7EB2
secondary
#C69677
accent
#8446E1
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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