#297987#297987

#297987 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.4% C 0.078 H 211.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#297987
RGBrgb(41, 121, 135)
HSLhsl(189, 53%, 35%)
HSVhsv(189, 70%, 53%)
CMYKcmyk(69.6%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.84, -19.15, -14.69)
CIE-LCHlch(46.84, 24.14, 217.49°)
OKLaboklab(53.42% -0.0669 -0.0408)
OKLCHoklch(53.42% 0.078 211.4)
XYZxyz(12.1232, 15.8941, 25.3459)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297987 #873729
analogous
#298766 #297987 #294A87
triadic
#297987 #872979 #798729
tetradic
#297987 #662987 #873729 #4A8729
square
#297987 #662987 #873729 #4A8729
split-complementary
#297987 #87294A #876629
monochromatic
#0C2529 #1B4F58 #297987 #37A3B6 #5DBDCE

Accessibility & contrast

On white

5.03
#297987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297987
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297987#FFFFFF#000000##FFFFFF
##2979871.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7588
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297987;
/* rgb */ color: rgb(41, 121, 135);
/* oklch */ color: oklch(53.4% 0.078 211.4);
Tailwind
colors: {
  custom: {
    50: '#70a0aa',
    500: '#297987',
    950: '#000000',
  },
}
SCSS
$custom: #297987;
$custom-light: #70a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#297987",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 188.936,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.07838,
    "h": 211.4
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#297987
secondary
#B36659
accent
#614BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #297987

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

Preview Lab → · Contrast checker → · Palette generator →

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