#297EA2#297EA2

#297EA2 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.096 H 230.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#297EA2
RGBrgb(41, 126, 162)
HSLhsl(198, 60%, 40%)
HSVhsv(198, 75%, 64%)
CMYKcmyk(74.7%, 22.2%, 0%, 36.5%)
CIE-LABlab(49.50, -12.75, -26.47)
CIE-LCHlch(49.50, 29.38, 244.29°)
OKLaboklab(55.91% -0.0613 -0.0744)
OKLCHoklch(55.91% 0.096 230.5)
XYZxyz(14.8943, 18.0000, 36.8648)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297EA2 #A24D29
analogous
#29A289 #297EA2 #2942A2
triadic
#297EA2 #A2297E #7EA229
tetradic
#297EA2 #8929A2 #A24D29 #42A229
square
#297EA2 #8929A2 #A24D29 #42A229
split-complementary
#297EA2 #A22942 #A28929
monochromatic
#103240 #1D5871 #297EA2 #3BA2CD #6CB9DA

Accessibility & contrast

On white

4.56
#297EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#297EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297EA2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297EA2#FFFFFF#000000##000000
##297EA21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA4
Deuteranopia (green-blind)
#5B71A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #297ea2;
/* rgb */ color: rgb(41, 126, 162);
/* oklch */ color: oklch(55.9% 0.096 230.5);
Tailwind
colors: {
  custom: {
    50: '#74a3bd',
    500: '#297ea2',
    950: '#000000',
  },
}
SCSS
$custom: #297ea2;
$custom-light: #74a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#297ea2",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 197.851,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.09636,
    "h": 230.5
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#297EA2
secondary
#C08167
accent
#7445E3
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #297EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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