#297DAC#297DAC

#297DAC is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.107 H 237.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#297DAC
RGBrgb(41, 125, 172)
HSLhsl(202, 62%, 42%)
HSVhsv(202, 76%, 67%)
CMYKcmyk(76.2%, 27.3%, 0%, 32.5%)
CIE-LABlab(49.64, -8.62, -32.07)
CIE-LCHlch(49.64, 33.20, 254.95°)
OKLaboklab(56.17% -0.0567 -0.0905)
OKLCHoklch(56.17% 0.107 237.9)
XYZxyz(15.6915, 18.1154, 41.6913)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297DAC #AC5829
analogous
#29AC9A #297DAC #293CAC
triadic
#297DAC #AC297D #7DAC29
tetradic
#297DAC #9A29AC #AC5829 #3CAC29
square
#297DAC #9A29AC #AC5829 #3CAC29
split-complementary
#297DAC #AC293C #AC9A29
monochromatic
#113549 #1D597B #297DAC #419ED2 #72B7DD

Accessibility & contrast

On white

4.54
#297DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#297DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297DAC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297DAC#FFFFFF#000000##000000
##297DAC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#5571AB
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #297dac;
/* rgb */ color: rgb(41, 125, 172);
/* oklch */ color: oklch(56.2% 0.107 237.9);
Tailwind
colors: {
  custom: {
    50: '#76a2c5',
    500: '#297dac',
    950: '#000000',
  },
}
SCSS
$custom: #297dac;
$custom-light: #76a2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#297dac",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 172
  },
  "hsl": {
    "h": 201.527,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.10685,
    "h": 237.9
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#297DAC
secondary
#C58C6C
accent
#7D43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #297DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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