#298BB4#298BB4

#298BB4 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.0% C 0.107 H 230.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#298BB4
RGBrgb(41, 139, 180)
HSLhsl(198, 63%, 43%)
HSVhsv(198, 77%, 71%)
CMYKcmyk(77.2%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.27, -13.74, -29.45)
CIE-LCHlch(54.27, 32.50, 244.99°)
OKLaboklab(59.98% -0.0675 -0.0828)
OKLCHoklch(59.98% 0.107 230.8)
XYZxyz(18.3819, 22.2297, 46.4931)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298BB4 #B45229
analogous
#29B497 #298BB4 #2945B4
triadic
#298BB4 #B4298B #8BB429
tetradic
#298BB4 #9729B4 #B45229 #45B429
square
#298BB4 #9729B4 #B45229 #45B429
split-complementary
#298BB4 #B42945 #B49729
monochromatic
#123E50 #1E6582 #298BB4 #45AAD5 #77C1E0

Accessibility & contrast

On white

3.86
#298BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#298BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298BB4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298BB4#FFFFFF#000000##000000
##298BB41.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B6
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #298bb4;
/* rgb */ color: rgb(41, 139, 180);
/* oklch */ color: oklch(60.0% 0.107 230.8);
Tailwind
colors: {
  custom: {
    50: '#78acca',
    500: '#298bb4',
    950: '#000000',
  },
}
SCSS
$custom: #298bb4;
$custom-light: #78acca;
$custom-dark: #000000;
JSON
{
  "hex": "#298bb4",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 197.698,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59979,
    "c": 0.10689,
    "h": 230.8
  },
  "luminance": 0.22232
}

Semantic roles & 50–950 ramp

primary
#298BB4
secondary
#C88B71
accent
#7242E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #298BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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