#2F8DB2#2F8DB2

#2F8DB2 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.102 H 228.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F8DB2
RGBrgb(47, 141, 178)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 74%, 70%)
CMYKcmyk(73.6%, 20.8%, 0%, 30.2%)
CIE-LABlab(54.93, -14.79, -27.27)
CIE-LCHlch(54.93, 31.02, 241.52°)
OKLaboklab(60.52% -0.0675 -0.0765)
OKLCHoklch(60.52% 0.102 228.6)
XYZxyz(18.7298, 22.8663, 45.5374)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DB2 #B2542F
analogous
#2FB296 #2F8DB2 #2F4BB2
triadic
#2F8DB2 #B22F8D #8DB22F
tetradic
#2F8DB2 #962FB2 #B2542F #4BB22F
square
#2F8DB2 #962FB2 #B2542F #4BB22F
split-complementary
#2F8DB2 #B22F4B #B2962F
monochromatic
#154051 #226782 #2F8DB2 #4EABD0 #7EC2DD

Accessibility & contrast

On white

3.77
#2F8DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2F8DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DB2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DB2#FFFFFF#000000##000000
##2F8DB21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8db2;
/* rgb */ color: rgb(47, 141, 178);
/* oklch */ color: oklch(60.5% 0.102 228.6);
Tailwind
colors: {
  custom: {
    50: '#7aaec9',
    500: '#2f8db2',
    950: '#000000',
  },
}
SCSS
$custom: #2f8db2;
$custom-light: #7aaec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8db2",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 196.947,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.102,
    "h": 228.6
  },
  "luminance": 0.22868
}

Semantic roles & 50–950 ramp

primary
#2F8DB2
secondary
#C68D77
accent
#7246E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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