#2F8FB9#2F8FB9

#2F8FB9 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.3% C 0.107 H 231.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2F8FB9
RGBrgb(47, 143, 185)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 75%, 73%)
CMYKcmyk(74.6%, 22.7%, 0%, 27.5%)
CIE-LABlab(55.84, -13.50, -29.86)
CIE-LCHlch(55.84, 32.77, 245.68°)
OKLaboklab(61.34% -0.0669 -0.084)
OKLCHoklch(61.34% 0.107 231.5)
XYZxyz(19.7482, 23.7497, 49.4329)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB9 #B9592F
analogous
#2FB99E #2F8FB9 #2F4AB9
triadic
#2F8FB9 #B92F8F #8FB92F
tetradic
#2F8FB9 #9E2FB9 #B9592F #4AB92F
square
#2F8FB9 #9E2FB9 #B9592F #4AB92F
split-complementary
#2F8FB9 #B92F4A #B99E2F
monochromatic
#164457 #236988 #2F8FB9 #52ACD3 #83C3DF

Accessibility & contrast

On white

3.65
#2F8FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2F8FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB9
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB9#FFFFFF#000000##000000
##2F8FB91.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DBB
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f8fb9;
/* rgb */ color: rgb(47, 143, 185);
/* oklch */ color: oklch(61.3% 0.107 231.5);
Tailwind
colors: {
  custom: {
    50: '#7bafce',
    500: '#2f8fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb9;
$custom-light: #7bafce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb9",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 185
  },
  "hsl": {
    "h": 198.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6134,
    "c": 0.10735,
    "h": 231.5
  },
  "luminance": 0.23752
}

Semantic roles & 50–950 ramp

primary
#2F8FB9
secondary
#C9937B
accent
#7545E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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