#297FAF#297FAF

#297FAF is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.109 H 238.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#297FAF
RGBrgb(41, 127, 175)
HSLhsl(201, 62%, 42%)
HSVhsv(201, 77%, 69%)
CMYKcmyk(76.6%, 27.4%, 0%, 31.4%)
CIE-LABlab(50.39, -8.70, -32.63)
CIE-LCHlch(50.39, 33.77, 255.07°)
OKLaboklab(56.81% -0.0576 -0.0922)
OKLCHoklch(56.81% 0.109 238)
XYZxyz(16.2386, 18.7434, 43.3111)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297FAF #AF5929
analogous
#29AF9C #297FAF #293CAF
triadic
#297FAF #AF297F #7FAF29
tetradic
#297FAF #9C29AF #AF5929 #3CAF29
square
#297FAF #9C29AF #AF5929 #3CAF29
split-complementary
#297FAF #AF293C #AF9C29
monochromatic
#12374C #1D5B7D #297FAF #429FD3 #74B8DE

Accessibility & contrast

On white

4.42
#297FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#297FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297FAF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297FAF#FFFFFF#000000##000000
##297FAF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB1
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #297faf;
/* rgb */ color: rgb(41, 127, 175);
/* oklch */ color: oklch(56.8% 0.109 238.0);
Tailwind
colors: {
  custom: {
    50: '#76a4c7',
    500: '#297faf',
    950: '#000000',
  },
}
SCSS
$custom: #297faf;
$custom-light: #76a4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#297faf",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 201.493,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.10871,
    "h": 238
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#297FAF
secondary
#C68D6E
accent
#7D43E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #297FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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