#297EAF#297EAF

#297EAF is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.6% C 0.109 H 238.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#297EAF
RGBrgb(41, 126, 175)
HSLhsl(202, 62%, 42%)
HSVhsv(202, 77%, 69%)
CMYKcmyk(76.6%, 28%, 0%, 31.4%)
CIE-LABlab(50.08, -8.12, -33.11)
CIE-LCHlch(50.08, 34.09, 256.22°)
OKLaboklab(56.57% -0.0567 -0.0936)
OKLCHoklch(56.57% 0.109 238.8)
XYZxyz(16.1101, 18.4864, 43.2683)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297EAF #AF5A29
analogous
#29AF9D #297EAF #293BAF
triadic
#297EAF #AF297E #7EAF29
tetradic
#297EAF #9D29AF #AF5A29 #3BAF29
square
#297EAF #9D29AF #AF5A29 #3BAF29
split-complementary
#297EAF #AF293B #AF9D29
monochromatic
#12374C #1D5A7D #297EAF #429ED3 #74B8DE

Accessibility & contrast

On white

4.47
#297EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#297EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297EAF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297EAF#FFFFFF#000000##000000
##297EAF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#677EB1
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #297eaf;
/* rgb */ color: rgb(41, 126, 175);
/* oklch */ color: oklch(56.6% 0.109 238.8);
Tailwind
colors: {
  custom: {
    50: '#76a3c7',
    500: '#297eaf',
    950: '#000000',
  },
}
SCSS
$custom: #297eaf;
$custom-light: #76a3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#297eaf",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 175
  },
  "hsl": {
    "h": 201.94,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.10939,
    "h": 238.8
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#297EAF
secondary
#C68E6E
accent
#7E43E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #297EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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