#297AAF#297AAF

#297AAF is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.112 H 242.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#297AAF
RGBrgb(41, 122, 175)
HSLhsl(204, 62%, 42%)
HSVhsv(204, 77%, 69%)
CMYKcmyk(76.6%, 30.3%, 0%, 31.4%)
CIE-LABlab(48.86, -5.78, -35.02)
CIE-LCHlch(48.86, 35.49, 260.63°)
OKLaboklab(55.61% -0.0528 -0.0991)
OKLCHoklch(55.61% 0.112 242)
XYZxyz(15.6088, 17.4838, 43.1012)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297AAF #AF5E29
analogous
#29AFA1 #297AAF #2937AF
triadic
#297AAF #AF297A #7AAF29
tetradic
#297AAF #A129AF #AF5E29 #37AF29
square
#297AAF #A129AF #AF5E29 #37AF29
split-complementary
#297AAF #AF2937 #AFA129
monochromatic
#12354C #1D577D #297AAF #429AD3 #74B4DE

Accessibility & contrast

On white

4.67
#297AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#297AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #297AAF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297AAF#FFFFFF#000000##FFFFFF
##297AAF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617BB1
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #297aaf;
/* rgb */ color: rgb(41, 122, 175);
/* oklch */ color: oklch(55.6% 0.112 242.0);
Tailwind
colors: {
  custom: {
    50: '#76a0c7',
    500: '#297aaf',
    950: '#000000',
  },
}
SCSS
$custom: #297aaf;
$custom-light: #76a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#297aaf",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 203.731,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.11235,
    "h": 242
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#297AAF
secondary
#C6916E
accent
#8343E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #297AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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