#2F7FB2#2F7FB2

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

Color values

HEX#2F7FB2
RGBrgb(47, 127, 178)
HSLhsl(203, 58%, 44%)
HSVhsv(203, 74%, 70%)
CMYKcmyk(73.6%, 28.7%, 0%, 30.2%)
CIE-LABlab(50.68, -6.85, -33.89)
CIE-LCHlch(50.68, 34.57, 258.57°)
OKLaboklab(57.14% -0.0535 -0.0958)
OKLCHoklch(57.14% 0.11 240.8)
XYZxyz(16.7944, 18.9955, 44.8922)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FB2 #B2622F
analogous
#2FB2A4 #2F7FB2 #2F3EB2
triadic
#2F7FB2 #B22F7F #7FB22F
tetradic
#2F7FB2 #A42FB2 #B2622F #3EB22F
square
#2F7FB2 #A42FB2 #B2622F #3EB22F
split-complementary
#2F7FB2 #B22F3E #B2A42F
monochromatic
#153A51 #225C82 #2F7FB2 #4E9ED0 #7EB8DD

Accessibility & contrast

On white

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

On black

4.80
#2F7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FB2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FB2#FFFFFF#000000##000000
##2F7FB21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B4
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7fb2;
/* rgb */ color: rgb(47, 127, 178);
/* oklch */ color: oklch(57.1% 0.110 240.8);
Tailwind
colors: {
  custom: {
    50: '#79a4c9',
    500: '#2f7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fb2;
$custom-light: #79a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fb2",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 203.359,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.10971,
    "h": 240.8
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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