#297E8B#297E8B

#297E8B is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.9% C 0.081 H 209.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#297E8B
RGBrgb(41, 126, 139)
HSLhsl(188, 54%, 35%)
HSVhsv(188, 71%, 55%)
CMYKcmyk(70.5%, 9.4%, 0%, 45.5%)
CIE-LABlab(48.58, -20.53, -14.41)
CIE-LCHlch(48.58, 25.08, 215.06°)
OKLaboklab(54.87% -0.0706 -0.04)
OKLCHoklch(54.87% 0.081 209.6)
XYZxyz(13.0335, 17.2557, 27.0649)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E8B #8B3629
analogous
#298B67 #297E8B #294D8B
triadic
#297E8B #8B297E #7E8B29
tetradic
#297E8B #67298B #8B3629 #4D8B29
square
#297E8B #67298B #8B3629 #4D8B29
split-complementary
#297E8B #8B294D #8B6729
monochromatic
#0D282C #1B535C #297E8B #37A9BA #5FC1D0

Accessibility & contrast

On white

4.72
#297E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#297E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297E8B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E8B#FFFFFF#000000##FFFFFF
##297E8B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798C
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #297e8b;
/* rgb */ color: rgb(41, 126, 139);
/* oklch */ color: oklch(54.9% 0.081 209.6);
Tailwind
colors: {
  custom: {
    50: '#71a3ac',
    500: '#297e8b',
    950: '#000000',
  },
}
SCSS
$custom: #297e8b;
$custom-light: #71a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#297e8b",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 187.959,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.08114,
    "h": 209.6
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#297E8B
secondary
#B5675B
accent
#5E4ADE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #297E8B

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

Preview Lab → · Contrast checker → · Palette generator →

#297E8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva