#298797#298797

#298797 is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.7% C 0.088 H 211.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#298797
RGBrgb(41, 135, 151)
HSLhsl(189, 57%, 38%)
HSVhsv(189, 73%, 59%)
CMYKcmyk(72.8%, 10.6%, 0%, 40.8%)
CIE-LABlab(51.87, -21.39, -16.42)
CIE-LCHlch(51.87, 26.96, 217.51°)
OKLaboklab(57.67% -0.075 -0.0457)
OKLCHoklch(57.67% 0.088 211.4)
XYZxyz(15.1619, 20.0320, 32.3396)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298797 #973929
analogous
#299770 #298797 #295097
triadic
#298797 #972987 #879729
tetradic
#298797 #702997 #973929 #509729
square
#298797 #702997 #973929 #509729
split-complementary
#298797 #972950 #977029
monochromatic
#0F3137 #1C5C67 #298797 #36B2C7 #65C5D5

Accessibility & contrast

On white

4.19
#298797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#298797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298797
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298797#FFFFFF#000000##000000
##2987971.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8298
Deuteranopia (green-blind)
#6B7797
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298797;
/* rgb */ color: rgb(41, 135, 151);
/* oklch */ color: oklch(57.7% 0.088 211.4);
Tailwind
colors: {
  custom: {
    50: '#73aab5',
    500: '#298797',
    950: '#000000',
  },
}
SCSS
$custom: #298797;
$custom-light: #73aab5;
$custom-dark: #000000;
JSON
{
  "hex": "#298797",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 151
  },
  "hsl": {
    "h": 188.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.08779,
    "h": 211.4
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#298797
secondary
#BB6E61
accent
#5E47E1
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #298797

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

Preview Lab → · Contrast checker → · Palette generator →

#298797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva