#2F98B4#2F98B4

#2F98B4 is a light, moderate cyan. Relative luminance 0.264; OKLCH L 63.3% C 0.101 H 219.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2F98B4
RGBrgb(47, 152, 180)
HSLhsl(193, 59%, 45%)
HSVhsv(193, 74%, 71%)
CMYKcmyk(73.9%, 15.6%, 0%, 29.4%)
CIE-LABlab(58.37, -20.05, -23.11)
CIE-LCHlch(58.37, 30.60, 229.04°)
OKLaboklab(63.3% -0.0777 -0.0646)
OKLCHoklch(63.3% 0.101 219.7)
XYZxyz(20.6353, 26.3537, 47.1704)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F98B4 #B44B2F
analogous
#2FB48E #2F98B4 #2F55B4
triadic
#2F98B4 #B42F98 #98B42F
tetradic
#2F98B4 #8E2FB4 #B44B2F #55B42F
square
#2F98B4 #8E2FB4 #B44B2F #55B42F
split-complementary
#2F98B4 #B42F55 #B48E2F
monochromatic
#164653 #226F83 #2F98B4 #4FB6D1 #80CADE

Accessibility & contrast

On white

3.35
#2F98B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#2F98B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F98B4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F98B4#FFFFFF#000000##000000
##2F98B41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8794B5
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2f98b4;
/* rgb */ color: rgb(47, 152, 180);
/* oklch */ color: oklch(63.3% 0.101 219.7);
Tailwind
colors: {
  custom: {
    50: '#7bb6ca',
    500: '#2f98b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f98b4;
$custom-light: #7bb6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f98b4",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 180
  },
  "hsl": {
    "h": 192.632,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.10103,
    "h": 219.7
  },
  "luminance": 0.26356
}

Semantic roles & 50–950 ramp

primary
#2F98B4
secondary
#C78978
accent
#6746E2
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F98B4

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

Preview Lab → · Contrast checker → · Palette generator →

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