#2F98C4#2F98C4

#2F98C4 is a light, moderate cyan. Relative luminance 0.270; OKLCH L 64.0% C 0.113 H 230.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2F98C4
RGBrgb(47, 152, 196)
HSLhsl(198, 61%, 48%)
HSVhsv(198, 76%, 77%)
CMYKcmyk(76%, 22.4%, 0%, 23.1%)
CIE-LABlab(59.01, -14.68, -31.15)
CIE-LCHlch(59.01, 34.43, 244.77°)
OKLaboklab(64.03% -0.0717 -0.0876)
OKLCHoklch(64.03% 0.113 230.7)
XYZxyz(22.3603, 27.0437, 56.2553)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F98C4 #C45B2F
analogous
#2FC4A5 #2F98C4 #2F4EC4
triadic
#2F98C4 #C42F98 #98C42F
tetradic
#2F98C4 #A52FC4 #C45B2F #4EC42F
square
#2F98C4 #A52FC4 #C45B2F #4EC42F
split-complementary
#2F98C4 #C42F4E #C4A52F
monochromatic
#174B61 #237293 #2F98C4 #59B2D7 #8AC9E3

Accessibility & contrast

On white

3.28
#2F98C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#2F98C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F98C4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F98C4#FFFFFF#000000##000000
##2F98C41.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8296C6
Deuteranopia (green-blind)
#6E88C3
Tritanopia (blue-blind)
#00A4A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2f98c4;
/* rgb */ color: rgb(47, 152, 196);
/* oklch */ color: oklch(64.0% 0.113 230.7);
Tailwind
colors: {
  custom: {
    50: '#7db6d6',
    500: '#2f98c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f98c4;
$custom-light: #7db6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f98c4",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 196
  },
  "hsl": {
    "h": 197.718,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.11319,
    "h": 230.7
  },
  "luminance": 0.27046
}

Semantic roles & 50–950 ramp

primary
#2F98C4
secondary
#CD9882
accent
#7343E4
background
#F8FBFD
surface
#EFF6FA
border
#CAD0D3
text
#0B1114
muted
#7C8083

Preview Lab

Preview with #2F98C4

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

Preview Lab → · Contrast checker → · Palette generator →

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