#2F7FB3#2F7FB3

#2F7FB3 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.111 H 241.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F7FB3
RGBrgb(47, 127, 179)
HSLhsl(204, 58%, 44%)
HSVhsv(204, 74%, 70%)
CMYKcmyk(73.7%, 29.1%, 0%, 29.8%)
CIE-LABlab(50.73, -6.49, -34.39)
CIE-LCHlch(50.73, 35.00, 259.31°)
OKLaboklab(57.19% -0.0532 -0.0972)
OKLCHoklch(57.19% 0.111 241.3)
XYZxyz(16.8952, 19.0358, 45.4229)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FB3 #B3632F
analogous
#2FB3A5 #2F7FB3 #2F3DB3
triadic
#2F7FB3 #B32F7F #7FB32F
tetradic
#2F7FB3 #A52FB3 #B3632F #3DB32F
square
#2F7FB3 #A52FB3 #B3632F #3DB32F
split-complementary
#2F7FB3 #B32F3D #B3A52F
monochromatic
#163A52 #225D83 #2F7FB3 #4F9DD1 #7FB8DD

Accessibility & contrast

On white

4.37
#2F7FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2F7FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FB3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FB3#FFFFFF#000000##000000
##2F7FB31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7fb3;
/* rgb */ color: rgb(47, 127, 179);
/* oklch */ color: oklch(57.2% 0.111 241.3);
Tailwind
colors: {
  custom: {
    50: '#79a3ca',
    500: '#2f7fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fb3;
$custom-light: #79a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fb3",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 203.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.11083,
    "h": 241.3
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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