#297799#297799

#297799 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.7% C 0.091 H 230.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#297799
RGBrgb(41, 119, 153)
HSLhsl(198, 58%, 38%)
HSVhsv(198, 73%, 60%)
CMYKcmyk(73.2%, 22.2%, 0%, 40%)
CIE-LABlab(46.93, -11.92, -25.19)
CIE-LCHlch(46.93, 27.86, 244.67°)
OKLaboklab(53.73% -0.0575 -0.0707)
OKLCHoklch(53.73% 0.091 230.9)
XYZxyz(13.2587, 15.9635, 32.5133)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297799 #994B29
analogous
#299983 #297799 #293F99
triadic
#297799 #992977 #779929
tetradic
#297799 #832999 #994B29 #3F9929
square
#297799 #832999 #994B29 #3F9929
split-complementary
#297799 #99293F #998329
monochromatic
#0F2C38 #1C5169 #297799 #369CC9 #66B4D6

Accessibility & contrast

On white

5.01
#297799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297799
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297799#FFFFFF#000000##FFFFFF
##2977991.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #297799;
/* rgb */ color: rgb(41, 119, 153);
/* oklch */ color: oklch(53.7% 0.091 230.9);
Tailwind
colors: {
  custom: {
    50: '#729eb7',
    500: '#297799',
    950: '#000000',
  },
}
SCSS
$custom: #297799;
$custom-light: #729eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#297799",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 198.214,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.09112,
    "h": 230.9
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#297799
secondary
#BC7D62
accent
#7647E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #297799

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

Preview Lab → · Contrast checker → · Palette generator →

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