#2F8EB8#2F8EB8

#2F8EB8 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.1% C 0.107 H 231.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F8EB8
RGBrgb(47, 142, 184)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 74%, 72%)
CMYKcmyk(74.5%, 22.8%, 0%, 27.8%)
CIE-LABlab(55.49, -13.29, -29.83)
CIE-LCHlch(55.49, 32.65, 245.99°)
OKLaboklab(61.05% -0.0663 -0.0839)
OKLCHoklch(61.05% 0.107 231.7)
XYZxyz(19.4935, 23.4087, 48.8291)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EB8 #B8592F
analogous
#2FB89D #2F8EB8 #2F4AB8
triadic
#2F8EB8 #B82F8E #8EB82F
tetradic
#2F8EB8 #9D2FB8 #B8592F #4AB82F
square
#2F8EB8 #9D2FB8 #B8592F #4AB82F
split-complementary
#2F8EB8 #B82F4A #B89D2F
monochromatic
#164357 #236887 #2F8EB8 #52ABD3 #82C3DF

Accessibility & contrast

On white

3.70
#2F8EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2F8EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EB8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EB8#FFFFFF#000000##000000
##2F8EB81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CBA
Deuteranopia (green-blind)
#667FB7
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8eb8;
/* rgb */ color: rgb(47, 142, 184);
/* oklch */ color: oklch(61.1% 0.107 231.7);
Tailwind
colors: {
  custom: {
    50: '#7bafcd',
    500: '#2f8eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f8eb8;
$custom-light: #7bafcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8eb8",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 184
  },
  "hsl": {
    "h": 198.394,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6105,
    "c": 0.10689,
    "h": 231.7
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

primary
#2F8EB8
secondary
#C8927B
accent
#7545E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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