#297988#297988

#297988 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.5% C 0.079 H 212.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#297988
RGBrgb(41, 121, 136)
HSLhsl(189, 54%, 35%)
HSVhsv(189, 70%, 53%)
CMYKcmyk(69.9%, 11%, 0%, 46.7%)
CIE-LABlab(46.87, -18.83, -15.23)
CIE-LCHlch(46.87, 24.21, 218.97°)
OKLaboklab(53.46% -0.0665 -0.0423)
OKLCHoklch(53.46% 0.079 212.5)
XYZxyz(12.1939, 15.9224, 25.7185)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297988 #883829
analogous
#298868 #297988 #294988
triadic
#297988 #882979 #798829
tetradic
#297988 #682988 #883829 #498829
square
#297988 #682988 #883829 #498829
split-complementary
#297988 #882949 #886829
monochromatic
#0D252A #1B4F59 #297988 #37A3B7 #5DBCCE

Accessibility & contrast

On white

5.02
#297988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#297988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297988
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297988#FFFFFF#000000##FFFFFF
##2979881.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7589
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297988;
/* rgb */ color: rgb(41, 121, 136);
/* oklch */ color: oklch(53.5% 0.079 212.5);
Tailwind
colors: {
  custom: {
    50: '#70a0aa',
    500: '#297988',
    950: '#000000',
  },
}
SCSS
$custom: #297988;
$custom-light: #70a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#297988",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 136
  },
  "hsl": {
    "h": 189.474,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.07881,
    "h": 212.5
  },
  "luminance": 0.15924
}

Semantic roles & 50–950 ramp

primary
#297988
secondary
#B46759
accent
#624BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #297988

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

Preview Lab → · Contrast checker → · Palette generator →

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