#298EB6#298EB6

#298EB6 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.107 H 229.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#298EB6
RGBrgb(41, 142, 182)
HSLhsl(197, 63%, 44%)
HSVhsv(197, 77%, 71%)
CMYKcmyk(77.5%, 22%, 0%, 28.6%)
CIE-LABlab(55.27, -14.70, -29.04)
CIE-LCHlch(55.27, 32.55, 243.14°)
OKLaboklab(60.81% -0.0697 -0.0816)
OKLCHoklch(60.81% 0.107 229.5)
XYZxyz(19.0275, 23.1925, 47.7207)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298EB6 #B65129
analogous
#29B697 #298EB6 #2947B6
triadic
#298EB6 #B6298E #8EB629
tetradic
#298EB6 #9729B6 #B65129 #47B629
square
#298EB6 #9729B6 #B65129 #47B629
split-complementary
#298EB6 #B62947 #B69729
monochromatic
#124052 #1E6784 #298EB6 #47ADD5 #79C3E1

Accessibility & contrast

On white

3.72
#298EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#298EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298EB6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298EB6#FFFFFF#000000##000000
##298EB61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB8
Deuteranopia (green-blind)
#677EB5
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #298eb6;
/* rgb */ color: rgb(41, 142, 182);
/* oklch */ color: oklch(60.8% 0.107 229.5);
Tailwind
colors: {
  custom: {
    50: '#79afcc',
    500: '#298eb6',
    950: '#000000',
  },
}
SCSS
$custom: #298eb6;
$custom-light: #79afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#298eb6",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 182
  },
  "hsl": {
    "h": 197.021,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.10736,
    "h": 229.5
  },
  "luminance": 0.23195
}

Semantic roles & 50–950 ramp

primary
#298EB6
secondary
#C98B72
accent
#7042E6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #298EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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