#2F8EB7#2F8EB7

#2F8EB7 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.0% C 0.106 H 231.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8EB7
RGBrgb(47, 142, 183)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 74%, 72%)
CMYKcmyk(74.3%, 22.4%, 0%, 28.2%)
CIE-LABlab(55.45, -13.63, -29.32)
CIE-LCHlch(55.45, 32.34, 245.07°)
OKLaboklab(61% -0.0666 -0.0824)
OKLCHoklch(61% 0.106 231.1)
XYZxyz(19.3891, 23.3670, 48.2790)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EB7 #B7582F
analogous
#2FB79C #2F8EB7 #2F4AB7
triadic
#2F8EB7 #B72F8E #8EB72F
tetradic
#2F8EB7 #9C2FB7 #B7582F #4AB72F
square
#2F8EB7 #9C2FB7 #B7582F #4AB72F
split-complementary
#2F8EB7 #B72F4A #B79C2F
monochromatic
#164256 #226886 #2F8EB7 #51ABD2 #82C3DF

Accessibility & contrast

On white

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

On black

5.67
#2F8EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EB7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EB7#FFFFFF#000000##000000
##2F8EB71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#677FB6
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8eb7;
/* rgb */ color: rgb(47, 142, 183);
/* oklch */ color: oklch(61.0% 0.106 231.1);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#2f8eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f8eb7;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8eb7",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 198.088,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61002,
    "c": 0.10598,
    "h": 231.1
  },
  "luminance": 0.23369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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