#297FA2#297FA2

#297FA2 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.096 H 229.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#297FA2
RGBrgb(41, 127, 162)
HSLhsl(197, 60%, 40%)
HSVhsv(197, 75%, 64%)
CMYKcmyk(74.7%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.81, -13.31, -25.99)
CIE-LCHlch(49.81, 29.20, 242.88°)
OKLaboklab(56.16% -0.0623 -0.073)
OKLCHoklch(56.16% 0.096 229.5)
XYZxyz(15.0228, 18.2570, 36.9076)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297FA2 #A24C29
analogous
#29A288 #297FA2 #2943A2
triadic
#297FA2 #A2297F #7FA229
tetradic
#297FA2 #8829A2 #A24C29 #43A229
square
#297FA2 #8829A2 #A24C29 #43A229
split-complementary
#297FA2 #A22943 #A28829
monochromatic
#103240 #1D5971 #297FA2 #3BA3CD #6CBADA

Accessibility & contrast

On white

4.51
#297FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#297FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297FA2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297FA2#FFFFFF#000000##000000
##297FA21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5D71A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #297fa2;
/* rgb */ color: rgb(41, 127, 162);
/* oklch */ color: oklch(56.2% 0.096 229.5);
Tailwind
colors: {
  custom: {
    50: '#74a4bd',
    500: '#297fa2',
    950: '#000000',
  },
}
SCSS
$custom: #297fa2;
$custom-light: #74a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#297fa2",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 197.355,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.09594,
    "h": 229.5
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#297FA2
secondary
#C08067
accent
#7345E3
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #297FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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