#2F8AB2#2F8AB2

#2F8AB2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.103 H 231.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2F8AB2
RGBrgb(47, 138, 178)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 74%, 70%)
CMYKcmyk(73.6%, 22.5%, 0%, 30.2%)
CIE-LABlab(54.02, -13.13, -28.68)
CIE-LCHlch(54.02, 31.54, 245.41°)
OKLaboklab(59.79% -0.0645 -0.0806)
OKLCHoklch(59.79% 0.103 231.3)
XYZxyz(18.2934, 21.9935, 45.3919)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AB2 #B2572F
analogous
#2FB299 #2F8AB2 #2F48B2
triadic
#2F8AB2 #B22F8A #8AB22F
tetradic
#2F8AB2 #992FB2 #B2572F #48B22F
square
#2F8AB2 #992FB2 #B2572F #48B22F
split-complementary
#2F8AB2 #B22F48 #B2992F
monochromatic
#153F51 #226482 #2F8AB2 #4EA8D0 #7EC0DD

Accessibility & contrast

On white

3.89
#2F8AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#2F8AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AB2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AB2#FFFFFF#000000##000000
##2F8AB21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B4
Deuteranopia (green-blind)
#647CB1
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8ab2;
/* rgb */ color: rgb(47, 138, 178);
/* oklch */ color: oklch(59.8% 0.103 231.3);
Tailwind
colors: {
  custom: {
    50: '#7aacc9',
    500: '#2f8ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ab2;
$custom-light: #7aacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ab2",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 198.321,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.10321,
    "h": 231.3
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#2F8AB2
secondary
#C68F77
accent
#7646E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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