#297BAB#297BAB

#297BAB is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.6% C 0.107 H 239.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#297BAB
RGBrgb(41, 123, 171)
HSLhsl(202, 61%, 42%)
HSVhsv(202, 76%, 67%)
CMYKcmyk(76%, 28.1%, 0%, 32.9%)
CIE-LABlab(48.98, -7.82, -32.52)
CIE-LCHlch(48.98, 33.44, 256.48°)
OKLaboklab(55.63% -0.0551 -0.0919)
OKLCHoklch(55.63% 0.107 239)
XYZxyz(15.3452, 17.5758, 41.1039)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297BAB #AB5929
analogous
#29AB9A #297BAB #293AAB
triadic
#297BAB #AB297B #7BAB29
tetradic
#297BAB #9A29AB #AB5929 #3AAB29
square
#297BAB #9A29AB #AB5929 #3AAB29
split-complementary
#297BAB #AB293A #AB9A29
monochromatic
#113448 #1D577A #297BAB #409CD1 #71B5DD

Accessibility & contrast

On white

4.65
#297BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#297BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #297BAB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297BAB#FFFFFF#000000##FFFFFF
##297BAB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647BAD
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #297bab;
/* rgb */ color: rgb(41, 123, 171);
/* oklch */ color: oklch(55.6% 0.107 239.0);
Tailwind
colors: {
  custom: {
    50: '#76a1c4',
    500: '#297bab',
    950: '#000000',
  },
}
SCSS
$custom: #297bab;
$custom-light: #76a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#297bab",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 202.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.10713,
    "h": 239
  },
  "luminance": 0.17578
}

Semantic roles & 50–950 ramp

primary
#297BAB
secondary
#C48C6C
accent
#7F43E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #297BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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