#2F8EB3#2F8EB3

#2F8EB3 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.102 H 228.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F8EB3
RGBrgb(47, 142, 179)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 74%, 70%)
CMYKcmyk(73.7%, 20.7%, 0%, 29.8%)
CIE-LABlab(55.28, -15.00, -27.30)
CIE-LCHlch(55.28, 31.15, 241.21°)
OKLaboklab(60.81% -0.0681 -0.0766)
OKLCHoklch(60.81% 0.102 228.4)
XYZxyz(18.9787, 23.2028, 46.1174)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EB3 #B3542F
analogous
#2FB396 #2F8EB3 #2F4CB3
triadic
#2F8EB3 #B32F8E #8EB32F
tetradic
#2F8EB3 #962FB3 #B3542F #4CB32F
square
#2F8EB3 #962FB3 #B3542F #4CB32F
split-complementary
#2F8EB3 #B32F4C #B3962F
monochromatic
#164152 #226883 #2F8EB3 #4FACD1 #7FC3DD

Accessibility & contrast

On white

3.72
#2F8EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2F8EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EB3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EB3#FFFFFF#000000##000000
##2F8EB31.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB5
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8eb3;
/* rgb */ color: rgb(47, 142, 179);
/* oklch */ color: oklch(60.8% 0.102 228.4);
Tailwind
colors: {
  custom: {
    50: '#7aafca',
    500: '#2f8eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f8eb3;
$custom-light: #7aafca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8eb3",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 196.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.10249,
    "h": 228.4
  },
  "luminance": 0.23205
}

Semantic roles & 50–950 ramp

primary
#2F8EB3
secondary
#C68E78
accent
#7246E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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