#297DA2#297DA2

#297DA2 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.7% C 0.097 H 231.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#297DA2
RGBrgb(41, 125, 162)
HSLhsl(198, 60%, 40%)
HSVhsv(198, 75%, 64%)
CMYKcmyk(74.7%, 22.8%, 0%, 36.5%)
CIE-LABlab(49.19, -12.18, -26.95)
CIE-LCHlch(49.19, 29.58, 245.68°)
OKLaboklab(55.67% -0.0602 -0.0758)
OKLCHoklch(55.67% 0.097 231.5)
XYZxyz(14.7670, 17.7456, 36.8224)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297DA2 #A24E29
analogous
#29A28B #297DA2 #2941A2
triadic
#297DA2 #A2297D #7DA229
tetradic
#297DA2 #8B29A2 #A24E29 #41A229
square
#297DA2 #8B29A2 #A24E29 #41A229
split-complementary
#297DA2 #A22941 #A28B29
monochromatic
#103240 #1D5771 #297DA2 #3BA1CD #6CB8DA

Accessibility & contrast

On white

4.62
#297DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#297DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #297DA2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297DA2#FFFFFF#000000##FFFFFF
##297DA21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA4
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #297da2;
/* rgb */ color: rgb(41, 125, 162);
/* oklch */ color: oklch(55.7% 0.097 231.5);
Tailwind
colors: {
  custom: {
    50: '#74a2bd',
    500: '#297da2',
    950: '#000000',
  },
}
SCSS
$custom: #297da2;
$custom-light: #74a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#297da2",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 198.347,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.0968,
    "h": 231.5
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#297DA2
secondary
#C08267
accent
#7545E3
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #297DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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