#2F8EB5#2F8EB5

#2F8EB5 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.104 H 229.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2F8EB5
RGBrgb(47, 142, 181)
HSLhsl(197, 59%, 45%)
HSVhsv(197, 74%, 71%)
CMYKcmyk(74%, 21.5%, 0%, 29%)
CIE-LABlab(55.36, -14.32, -28.31)
CIE-LCHlch(55.36, 31.73, 243.18°)
OKLaboklab(60.91% -0.0673 -0.0795)
OKLCHoklch(60.91% 0.104 229.7)
XYZxyz(19.1824, 23.2843, 47.1904)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EB5 #B5562F
analogous
#2FB599 #2F8EB5 #2F4BB5
triadic
#2F8EB5 #B52F8E #8EB52F
tetradic
#2F8EB5 #992FB5 #B5562F #4BB52F
square
#2F8EB5 #992FB5 #B5562F #4BB52F
split-complementary
#2F8EB5 #B52F4B #B5992F
monochromatic
#164254 #226884 #2F8EB5 #50ACD1 #80C3DE

Accessibility & contrast

On white

3.71
#2F8EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#2F8EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EB5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EB5#FFFFFF#000000##000000
##2F8EB51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB7
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8eb5;
/* rgb */ color: rgb(47, 142, 181);
/* oklch */ color: oklch(60.9% 0.104 229.7);
Tailwind
colors: {
  custom: {
    50: '#7aafcb',
    500: '#2f8eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f8eb5;
$custom-light: #7aafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8eb5",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 197.463,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60907,
    "c": 0.1042,
    "h": 229.7
  },
  "luminance": 0.23287
}

Semantic roles & 50–950 ramp

primary
#2F8EB5
secondary
#C79079
accent
#7346E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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