#298AC2#298AC2

#298AC2 is a mid, vivid cyan. Relative luminance 0.225; OKLCH L 60.4% C 0.121 H 239.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#298AC2
RGBrgb(41, 138, 194)
HSLhsl(202, 65%, 46%)
HSVhsv(202, 79%, 76%)
CMYKcmyk(78.9%, 28.9%, 0%, 23.9%)
CIE-LABlab(54.60, -8.21, -36.92)
CIE-LCHlch(54.60, 37.82, 257.46°)
OKLaboklab(60.45% -0.0618 -0.1045)
OKLCHoklch(60.45% 0.121 239.4)
XYZxyz(19.7367, 22.5410, 54.3391)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298AC2 #C26129
analogous
#29C2AD #298AC2 #293DC2
triadic
#298AC2 #C2298A #8AC229
tetradic
#298AC2 #AD29C2 #C26129 #3DC229
square
#298AC2 #AD29C2 #C26129 #3DC229
split-complementary
#298AC2 #C2293D #C2AD29
monochromatic
#14425D #1E668F #298AC2 #4EA7DA #81C0E4

Accessibility & contrast

On white

3.81
#298AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#298AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298AC2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298AC2#FFFFFF#000000##000000
##298AC21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8AC5
Deuteranopia (green-blind)
#5B7CC1
Tritanopia (blue-blind)
#00989E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #298ac2;
/* rgb */ color: rgb(41, 138, 194);
/* oklch */ color: oklch(60.4% 0.121 239.4);
Tailwind
colors: {
  custom: {
    50: '#7aacd4',
    500: '#298ac2',
    950: '#000000',
  },
}
SCSS
$custom: #298ac2;
$custom-light: #7aacd4;
$custom-dark: #000000;
JSON
{
  "hex": "#298ac2",
  "rgb": {
    "r": 41,
    "g": 138,
    "b": 194
  },
  "hsl": {
    "h": 201.961,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.1214,
    "h": 239.4
  },
  "luminance": 0.22543
}

Semantic roles & 50–950 ramp

primary
#298AC2
secondary
#CD987A
accent
#7D40E8
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #298AC2

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

Preview Lab → · Contrast checker → · Palette generator →

#298AC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva