#2F8FB8#2F8FB8

#2F8FB8 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.106 H 230.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2F8FB8
RGBrgb(47, 143, 184)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 74%, 72%)
CMYKcmyk(74.5%, 22.3%, 0%, 27.8%)
CIE-LABlab(55.79, -13.84, -29.36)
CIE-LCHlch(55.79, 32.46, 244.76°)
OKLaboklab(61.29% -0.0672 -0.0825)
OKLCHoklch(61.29% 0.106 230.8)
XYZxyz(19.6430, 23.7076, 48.8789)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB8 #B8582F
analogous
#2FB89C #2F8FB8 #2F4BB8
triadic
#2F8FB8 #B82F8F #8FB82F
tetradic
#2F8FB8 #9C2FB8 #B8582F #4BB82F
square
#2F8FB8 #9C2FB8 #B8582F #4BB82F
split-complementary
#2F8FB8 #B82F4B #B89C2F
monochromatic
#164357 #236987 #2F8FB8 #52ACD3 #82C3DF

Accessibility & contrast

On white

3.66
#2F8FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2F8FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB8#FFFFFF#000000##000000
##2F8FB81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DBA
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f8fb8;
/* rgb */ color: rgb(47, 143, 184);
/* oklch */ color: oklch(61.3% 0.106 230.8);
Tailwind
colors: {
  custom: {
    50: '#7bafcd',
    500: '#2f8fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb8;
$custom-light: #7bafcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb8",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 184
  },
  "hsl": {
    "h": 197.956,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.10644,
    "h": 230.8
  },
  "luminance": 0.2371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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