#2F8BB2#2F8BB2

#2F8BB2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.103 H 230.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2F8BB2
RGBrgb(47, 139, 178)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 74%, 70%)
CMYKcmyk(73.6%, 21.9%, 0%, 30.2%)
CIE-LABlab(54.32, -13.68, -28.21)
CIE-LCHlch(54.32, 31.35, 244.12°)
OKLaboklab(60.04% -0.0655 -0.0792)
OKLCHoklch(60.04% 0.103 230.4)
XYZxyz(18.4376, 22.2818, 45.4399)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BB2 #B2562F
analogous
#2FB298 #2F8BB2 #2F49B2
triadic
#2F8BB2 #B22F8B #8BB22F
tetradic
#2F8BB2 #982FB2 #B2562F #49B22F
square
#2F8BB2 #982FB2 #B2562F #49B22F
split-complementary
#2F8BB2 #B22F49 #B2982F
monochromatic
#153F51 #226582 #2F8BB2 #4EA9D0 #7EC1DD

Accessibility & contrast

On white

3.85
#2F8BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#2F8BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BB2#FFFFFF#000000##000000
##2F8BB21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8bb2;
/* rgb */ color: rgb(47, 139, 178);
/* oklch */ color: oklch(60.0% 0.103 230.4);
Tailwind
colors: {
  custom: {
    50: '#7aacc9',
    500: '#2f8bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bb2;
$custom-light: #7aacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bb2",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 197.863,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.10278,
    "h": 230.4
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#2F8BB2
secondary
#C68E77
accent
#7546E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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