#2F98B6#2F98B6

#2F98B6 is a light, moderate cyan. Relative luminance 0.264; OKLCH L 63.4% C 0.102 H 221.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2F98B6
RGBrgb(47, 152, 182)
HSLhsl(193, 59%, 45%)
HSVhsv(193, 74%, 71%)
CMYKcmyk(74.2%, 16.5%, 0%, 28.6%)
CIE-LABlab(58.45, -19.39, -24.12)
CIE-LCHlch(58.45, 30.95, 231.20°)
OKLaboklab(63.39% -0.0769 -0.0674)
OKLCHoklch(63.39% 0.102 221.2)
XYZxyz(20.8405, 26.4357, 48.2511)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F98B6 #B64D2F
analogous
#2FB690 #2F98B6 #2F55B6
triadic
#2F98B6 #B62F98 #98B62F
tetradic
#2F98B6 #902FB6 #B64D2F #55B62F
square
#2F98B6 #902FB6 #B64D2F #55B62F
split-complementary
#2F98B6 #B62F55 #B6902F
monochromatic
#164755 #226F85 #2F98B6 #50B5D2 #81CADE

Accessibility & contrast

On white

3.34
#2F98B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#2F98B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F98B6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F98B6#FFFFFF#000000##000000
##2F98B61.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8694B8
Deuteranopia (green-blind)
#7487B6
Tritanopia (blue-blind)
#00A2A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2f98b6;
/* rgb */ color: rgb(47, 152, 182);
/* oklch */ color: oklch(63.4% 0.102 221.2);
Tailwind
colors: {
  custom: {
    50: '#7bb6cc',
    500: '#2f98b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f98b6;
$custom-light: #7bb6cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f98b6",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 182
  },
  "hsl": {
    "h": 193.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6339,
    "c": 0.1023,
    "h": 221.2
  },
  "luminance": 0.26438
}

Semantic roles & 50–950 ramp

primary
#2F98B6
secondary
#C78B79
accent
#6846E2
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F98B6

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

Preview Lab → · Contrast checker → · Palette generator →

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