#297796#297796

#297796 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.088 H 228.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#297796
RGBrgb(41, 119, 150)
HSLhsl(197, 57%, 37%)
HSVhsv(197, 73%, 59%)
CMYKcmyk(72.7%, 20.7%, 0%, 41.2%)
CIE-LABlab(46.80, -12.97, -23.62)
CIE-LCHlch(46.80, 26.95, 241.22°)
OKLaboklab(53.59% -0.0586 -0.0662)
OKLCHoklch(53.59% 0.088 228.5)
XYZxyz(13.0141, 15.8656, 31.2247)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297796 #964829
analogous
#29967E #297796 #294196
triadic
#297796 #962977 #779629
tetradic
#297796 #7E2996 #964829 #419629
square
#297796 #7E2996 #964829 #419629
split-complementary
#297796 #962941 #967E29
monochromatic
#0F2B36 #1C5166 #297796 #369DC6 #65B5D5

Accessibility & contrast

On white

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

On black

4.17
#297796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##297796#FFFFFF#000000##FFFFFF
##2977961.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677598
Deuteranopia (green-blind)
#586A96
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297796;
/* rgb */ color: rgb(41, 119, 150);
/* oklch */ color: oklch(53.6% 0.088 228.5);
Tailwind
colors: {
  custom: {
    50: '#729eb5',
    500: '#297796',
    950: '#000000',
  },
}
SCSS
$custom: #297796;
$custom-light: #729eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#297796",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 150
  },
  "hsl": {
    "h": 197.064,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.08843,
    "h": 228.5
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#297796
secondary
#BB7A60
accent
#7347E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #297796

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

Preview Lab → · Contrast checker → · Palette generator →

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