#2F8FB2#2F8FB2

#2F8FB2 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.0% C 0.101 H 226.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2F8FB2
RGBrgb(47, 143, 178)
HSLhsl(196, 58%, 44%)
HSVhsv(196, 74%, 70%)
CMYKcmyk(73.6%, 19.7%, 0%, 30.2%)
CIE-LABlab(55.54, -15.89, -26.32)
CIE-LCHlch(55.54, 30.74, 238.89°)
OKLaboklab(61.01% -0.0695 -0.0738)
OKLCHoklch(61.01% 0.101 226.7)
XYZxyz(19.0274, 23.4614, 45.6365)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB2 #B2522F
analogous
#2FB294 #2F8FB2 #2F4DB2
triadic
#2F8FB2 #B22F8F #8FB22F
tetradic
#2F8FB2 #942FB2 #B2522F #4DB22F
square
#2F8FB2 #942FB2 #B2522F #4DB22F
split-complementary
#2F8FB2 #B22F4D #B2942F
monochromatic
#154151 #226882 #2F8FB2 #4EADD0 #7EC4DD

Accessibility & contrast

On white

3.69
#2F8FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#2F8FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB2#FFFFFF#000000##000000
##2F8FB21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#6A7FB2
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8fb2;
/* rgb */ color: rgb(47, 143, 178);
/* oklch */ color: oklch(61.0% 0.101 226.7);
Tailwind
colors: {
  custom: {
    50: '#7aafc9',
    500: '#2f8fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb2;
$custom-light: #7aafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb2",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 196.031,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.10135,
    "h": 226.7
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#2F8FB2
secondary
#C68C77
accent
#7046E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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