#297AA8#297AA8

#297AA8 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.105 H 238.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#297AA8
RGBrgb(41, 122, 168)
HSLhsl(202, 61%, 41%)
HSVhsv(202, 76%, 66%)
CMYKcmyk(75.6%, 27.4%, 0%, 34.1%)
CIE-LABlab(48.53, -8.32, -31.47)
CIE-LCHlch(48.53, 32.55, 255.20°)
OKLaboklab(55.23% -0.0551 -0.0888)
OKLCHoklch(55.23% 0.105 238.2)
XYZxyz(14.9391, 17.2159, 39.5739)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297AA8 #A85729
analogous
#29A896 #297AA8 #293AA8
triadic
#297AA8 #A8297A #7AA829
tetradic
#297AA8 #9629A8 #A85729 #3AA829
square
#297AA8 #9629A8 #A85729 #3AA829
split-complementary
#297AA8 #A8293A #A89629
monochromatic
#113346 #1D5677 #297AA8 #3E9BD0 #6FB5DC

Accessibility & contrast

On white

4.73
#297AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#297AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297AA8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297AA8#FFFFFF#000000##FFFFFF
##297AA81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AAA
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #297aa8;
/* rgb */ color: rgb(41, 122, 168);
/* oklch */ color: oklch(55.2% 0.105 238.2);
Tailwind
colors: {
  custom: {
    50: '#75a0c2',
    500: '#297aa8',
    950: '#000000',
  },
}
SCSS
$custom: #297aa8;
$custom-light: #75a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#297aa8",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 168
  },
  "hsl": {
    "h": 201.732,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.10456,
    "h": 238.2
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#297AA8
secondary
#C38A6A
accent
#7E44E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #297AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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