#2F98B2#2F98B2

#2F98B2 is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.2% C 0.100 H 218.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2F98B2
RGBrgb(47, 152, 178)
HSLhsl(192, 58%, 44%)
HSVhsv(192, 74%, 70%)
CMYKcmyk(73.6%, 14.6%, 0%, 30.2%)
CIE-LABlab(58.30, -20.71, -22.09)
CIE-LCHlch(58.30, 30.28, 226.84°)
OKLaboklab(63.22% -0.0785 -0.0617)
OKLCHoklch(63.22% 0.1 218.1)
XYZxyz(20.4330, 26.2728, 46.1051)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F98B2 #B2492F
analogous
#2FB28B #2F98B2 #2F57B2
triadic
#2F98B2 #B22F98 #98B22F
tetradic
#2F98B2 #8B2FB2 #B2492F #57B22F
square
#2F98B2 #8B2FB2 #B2492F #57B22F
split-complementary
#2F98B2 #B22F57 #B28B2F
monochromatic
#154551 #226F82 #2F98B2 #4EB6D0 #7ECADD

Accessibility & contrast

On white

3.36
#2F98B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#2F98B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F98B2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F98B2#FFFFFF#000000##000000
##2F98B21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8794B3
Deuteranopia (green-blind)
#7586B2
Tritanopia (blue-blind)
#00A1A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2f98b2;
/* rgb */ color: rgb(47, 152, 178);
/* oklch */ color: oklch(63.2% 0.100 218.1);
Tailwind
colors: {
  custom: {
    50: '#7bb6c9',
    500: '#2f98b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f98b2;
$custom-light: #7bb6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f98b2",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 178
  },
  "hsl": {
    "h": 191.908,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63216,
    "c": 0.09983,
    "h": 218.1
  },
  "luminance": 0.26275
}

Semantic roles & 50–950 ramp

primary
#2F98B2
secondary
#C68777
accent
#6546E1
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F98B2

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

Preview Lab → · Contrast checker → · Palette generator →

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