#2F98C1#2F98C1

#2F98C1 is a light, moderate cyan. Relative luminance 0.269; OKLCH L 63.9% C 0.111 H 228.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2F98C1
RGBrgb(47, 152, 193)
HSLhsl(197, 61%, 47%)
HSVhsv(197, 76%, 76%)
CMYKcmyk(75.6%, 21.2%, 0%, 24.3%)
CIE-LABlab(58.89, -15.70, -29.65)
CIE-LCHlch(58.89, 33.55, 242.10°)
OKLaboklab(63.89% -0.0728 -0.0833)
OKLCHoklch(63.89% 0.111 228.9)
XYZxyz(22.0222, 26.9084, 54.4749)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F98C1 #C1582F
analogous
#2FC1A1 #2F98C1 #2F4FC1
triadic
#2F98C1 #C12F98 #98C12F
tetradic
#2F98C1 #A12FC1 #C1582F #4FC12F
square
#2F98C1 #A12FC1 #C1582F #4FC12F
split-complementary
#2F98C1 #C12F4F #C1A12F
monochromatic
#174A5F #237190 #2F98C1 #57B2D6 #88C9E2

Accessibility & contrast

On white

3.29
#2F98C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#2F98C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F98C1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F98C1#FFFFFF#000000##000000
##2F98C11.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8396C3
Deuteranopia (green-blind)
#6F88C0
Tritanopia (blue-blind)
#00A4A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2f98c1;
/* rgb */ color: rgb(47, 152, 193);
/* oklch */ color: oklch(63.9% 0.111 228.9);
Tailwind
colors: {
  custom: {
    50: '#7db6d4',
    500: '#2f98c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f98c1;
$custom-light: #7db6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f98c1",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 193
  },
  "hsl": {
    "h": 196.849,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.63889,
    "c": 0.1106,
    "h": 228.9
  },
  "luminance": 0.26911
}

Semantic roles & 50–950 ramp

primary
#2F98C1
secondary
#CC9580
accent
#7144E4
background
#F8FBFD
surface
#EFF6FA
border
#CAD0D3
text
#0B1114
muted
#7C8083

Preview Lab

Preview with #2F98C1

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

Preview Lab → · Contrast checker → · Palette generator →

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