#297AAB#297AAB

#297AAB is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.108 H 239.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#297AAB
RGBrgb(41, 122, 171)
HSLhsl(203, 61%, 42%)
HSVhsv(203, 76%, 67%)
CMYKcmyk(76%, 28.7%, 0%, 32.9%)
CIE-LABlab(48.67, -7.23, -32.99)
CIE-LCHlch(48.67, 33.78, 257.64°)
OKLaboklab(55.39% -0.0541 -0.0933)
OKLCHoklch(55.39% 0.108 239.9)
XYZxyz(15.2218, 17.3290, 41.0628)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297AAB #AB5A29
analogous
#29AB9B #297AAB #2939AB
triadic
#297AAB #AB297A #7AAB29
tetradic
#297AAB #9B29AB #AB5A29 #39AB29
square
#297AAB #9B29AB #AB5A29 #39AB29
split-complementary
#297AAB #AB2939 #AB9B29
monochromatic
#113448 #1D577A #297AAB #409AD1 #71B4DD

Accessibility & contrast

On white

4.70
#297AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#297AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297AAB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297AAB#FFFFFF#000000##FFFFFF
##297AAB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637AAD
Deuteranopia (green-blind)
#516EAA
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #297aab;
/* rgb */ color: rgb(41, 122, 171);
/* oklch */ color: oklch(55.4% 0.108 239.9);
Tailwind
colors: {
  custom: {
    50: '#76a0c4',
    500: '#297aab',
    950: '#000000',
  },
}
SCSS
$custom: #297aab;
$custom-light: #76a0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#297aab",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 171
  },
  "hsl": {
    "h": 202.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5539,
    "c": 0.10785,
    "h": 239.9
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#297AAB
secondary
#C48D6C
accent
#8043E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #297AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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