#297B8A#297B8A

#297B8A is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.1% C 0.080 H 212.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#297B8A
RGBrgb(41, 123, 138)
HSLhsl(189, 54%, 35%)
HSVhsv(189, 70%, 54%)
CMYKcmyk(70.3%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.59, -19.25, -15.33)
CIE-LCHlch(47.59, 24.61, 218.53°)
OKLaboklab(54.06% -0.0678 -0.0426)
OKLCHoklch(54.06% 0.08 212.2)
XYZxyz(12.5829, 16.4709, 26.5559)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297B8A #8A3829
analogous
#298A68 #297B8A #294B8A
triadic
#297B8A #8A297B #7B8A29
tetradic
#297B8A #68298A #8A3829 #4B8A29
square
#297B8A #68298A #8A3829 #4B8A29
split-complementary
#297B8A #8A294B #8A6829
monochromatic
#0D272C #1B515B #297B8A #37A5B9 #5EBECF

Accessibility & contrast

On white

4.89
#297B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#297B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297B8A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297B8A#FFFFFF#000000##FFFFFF
##297B8A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F778B
Deuteranopia (green-blind)
#616D8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #297b8a;
/* rgb */ color: rgb(41, 123, 138);
/* oklch */ color: oklch(54.1% 0.080 212.2);
Tailwind
colors: {
  custom: {
    50: '#71a1ac',
    500: '#297b8a',
    950: '#000000',
  },
}
SCSS
$custom: #297b8a;
$custom-light: #71a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#297b8a",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 189.278,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.08006,
    "h": 212.2
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#297B8A
secondary
#B5685A
accent
#614ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #297B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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