#297798#297798

#297798 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.7% C 0.090 H 230.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#297798
RGBrgb(41, 119, 152)
HSLhsl(198, 58%, 38%)
HSVhsv(198, 73%, 60%)
CMYKcmyk(73%, 21.7%, 0%, 40.4%)
CIE-LABlab(46.88, -12.27, -24.66)
CIE-LCHlch(46.88, 27.55, 243.54°)
OKLaboklab(53.68% -0.0578 -0.0692)
OKLCHoklch(53.68% 0.09 230.1)
XYZxyz(13.1765, 15.9306, 32.0801)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297798 #984A29
analogous
#299881 #297798 #293F98
triadic
#297798 #982977 #779829
tetradic
#297798 #812998 #984A29 #3F9829
square
#297798 #812998 #984A29 #3F9829
split-complementary
#297798 #98293F #988129
monochromatic
#0F2C38 #1C5168 #297798 #369DC8 #66B4D6

Accessibility & contrast

On white

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

On black

4.19
#297798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##297798#FFFFFF#000000##FFFFFF
##2977981.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#576A98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297798;
/* rgb */ color: rgb(41, 119, 152);
/* oklch */ color: oklch(53.7% 0.090 230.1);
Tailwind
colors: {
  custom: {
    50: '#729eb6',
    500: '#297798',
    950: '#000000',
  },
}
SCSS
$custom: #297798;
$custom-light: #729eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#297798",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 197.838,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.0902,
    "h": 230.1
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#297798
secondary
#BC7C61
accent
#7547E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #297798

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

Preview Lab → · Contrast checker → · Palette generator →

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