#298EB2#298EB2

#298EB2 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.104 H 226.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#298EB2
RGBrgb(41, 142, 178)
HSLhsl(196, 63%, 43%)
HSVhsv(196, 77%, 70%)
CMYKcmyk(77%, 20.2%, 0%, 30.2%)
CIE-LABlab(55.10, -16.09, -27.02)
CIE-LCHlch(55.10, 31.44, 239.23°)
OKLaboklab(60.62% -0.0712 -0.0758)
OKLCHoklch(60.62% 0.104 226.8)
XYZxyz(18.6200, 23.0295, 45.5746)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298EB2 #B24D29
analogous
#29B291 #298EB2 #294AB2
triadic
#298EB2 #B2298E #8EB229
tetradic
#298EB2 #9129B2 #B24D29 #4AB229
square
#298EB2 #9129B2 #B24D29 #4AB229
split-complementary
#298EB2 #B2294A #B29129
monochromatic
#123F4F #1E6680 #298EB2 #44AED4 #76C4DF

Accessibility & contrast

On white

3.75
#298EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#298EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298EB2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298EB2#FFFFFF#000000##000000
##298EB21.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB4
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #298eb2;
/* rgb */ color: rgb(41, 142, 178);
/* oklch */ color: oklch(60.6% 0.104 226.8);
Tailwind
colors: {
  custom: {
    50: '#78afc9',
    500: '#298eb2',
    950: '#000000',
  },
}
SCSS
$custom: #298eb2;
$custom-light: #78afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#298eb2",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 195.766,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.10401,
    "h": 226.8
  },
  "luminance": 0.23032
}

Semantic roles & 50–950 ramp

primary
#298EB2
secondary
#C78770
accent
#6D42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #298EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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