#297899#297899

#297899 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.091 H 229.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#297899
RGBrgb(41, 120, 153)
HSLhsl(198, 58%, 38%)
HSVhsv(198, 73%, 60%)
CMYKcmyk(73.2%, 21.6%, 0%, 40%)
CIE-LABlab(47.24, -12.49, -24.70)
CIE-LCHlch(47.24, 27.68, 243.17°)
OKLaboklab(53.98% -0.0585 -0.0693)
OKLCHoklch(53.98% 0.091 229.8)
XYZxyz(13.3784, 16.2027, 32.5532)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297899 #994A29
analogous
#299982 #297899 #294099
triadic
#297899 #992978 #789929
tetradic
#297899 #822999 #994A29 #409929
square
#297899 #822999 #994A29 #409929
split-complementary
#297899 #992940 #998229
monochromatic
#0F2C38 #1C5269 #297899 #369EC9 #66B5D6

Accessibility & contrast

On white

4.95
#297899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#297899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297899
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297899#FFFFFF#000000##FFFFFF
##2978991.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#586B99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #297899;
/* rgb */ color: rgb(41, 120, 153);
/* oklch */ color: oklch(54.0% 0.091 229.8);
Tailwind
colors: {
  custom: {
    50: '#729fb7',
    500: '#297899',
    950: '#000000',
  },
}
SCSS
$custom: #297899;
$custom-light: #729fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#297899",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 197.679,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.0907,
    "h": 229.8
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#297899
secondary
#BC7C62
accent
#7447E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #297899

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

Preview Lab → · Contrast checker → · Palette generator →

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