#2A98B2#2A98B2

#2A98B2 is a light, moderate cyan. Relative luminance 0.262; OKLCH L 63.1% C 0.102 H 217.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2A98B2
RGBrgb(42, 152, 178)
HSLhsl(191, 62%, 43%)
HSVhsv(191, 76%, 70%)
CMYKcmyk(76.4%, 14.6%, 0%, 30.2%)
CIE-LABlab(58.19, -21.32, -22.26)
CIE-LCHlch(58.19, 30.82, 226.24°)
OKLaboklab(63.1% -0.0806 -0.0622)
OKLCHoklch(63.1% 0.102 217.6)
XYZxyz(20.2156, 26.1606, 46.0949)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A98B2 #B2442A
analogous
#2AB288 #2A98B2 #2A54B2
triadic
#2A98B2 #B22A98 #98B22A
tetradic
#2A98B2 #882AB2 #B2442A #54B22A
square
#2A98B2 #882AB2 #B2442A #54B22A
split-complementary
#2A98B2 #B22A54 #B2882A
monochromatic
#13434F #1E6E80 #2A98B2 #46B8D3 #77CBDF

Accessibility & contrast

On white

3.37
#2A98B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#2A98B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A98B2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A98B2#FFFFFF#000000##000000
##2A98B21.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a98b2;
/* rgb */ color: rgb(42, 152, 178);
/* oklch */ color: oklch(63.1% 0.102 217.6);
Tailwind
colors: {
  custom: {
    50: '#79b6c9',
    500: '#2a98b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a98b2;
$custom-light: #79b6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a98b2",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 178
  },
  "hsl": {
    "h": 191.471,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.631,
    "c": 0.10182,
    "h": 217.6
  },
  "luminance": 0.26163
}

Semantic roles & 50–950 ramp

primary
#2A98B2
secondary
#C78171
accent
#6243E5
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2A98B2

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

Preview Lab → · Contrast checker → · Palette generator →

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