#297FA4#297FA4

#297FA4 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.098 H 231.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#297FA4
RGBrgb(41, 127, 164)
HSLhsl(198, 60%, 40%)
HSVhsv(198, 75%, 64%)
CMYKcmyk(75%, 22.6%, 0%, 35.7%)
CIE-LABlab(49.89, -12.61, -27.02)
CIE-LCHlch(49.89, 29.82, 244.98°)
OKLaboklab(56.26% -0.0615 -0.0759)
OKLCHoklch(56.26% 0.098 231)
XYZxyz(15.2020, 18.3287, 37.8514)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297FA4 #A44E29
analogous
#29A48C #297FA4 #2941A4
triadic
#297FA4 #A4297F #7FA429
tetradic
#297FA4 #8C29A4 #A44E29 #41A429
square
#297FA4 #8C29A4 #A44E29 #41A429
split-complementary
#297FA4 #A42941 #A48C29
monochromatic
#113342 #1D5973 #297FA4 #3CA2CE #6DBADA

Accessibility & contrast

On white

4.50
#297FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#297FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297FA4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297FA4#FFFFFF#000000##000000
##297FA41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA6
Deuteranopia (green-blind)
#5C71A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #297fa4;
/* rgb */ color: rgb(41, 127, 164);
/* oklch */ color: oklch(56.3% 0.098 231.0);
Tailwind
colors: {
  custom: {
    50: '#75a4bf',
    500: '#297fa4',
    950: '#000000',
  },
}
SCSS
$custom: #297fa4;
$custom-light: #75a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#297fa4",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 198.049,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.09775,
    "h": 231
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#297FA4
secondary
#C18368
accent
#7445E3
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #297FA4

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

Preview Lab → · Contrast checker → · Palette generator →

#297FA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva