#297FAC#297FAC

#297FAC is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.7% C 0.106 H 236.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#297FAC
RGBrgb(41, 127, 172)
HSLhsl(201, 62%, 42%)
HSVhsv(201, 76%, 67%)
CMYKcmyk(76.2%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.25, -9.78, -31.11)
CIE-LCHlch(50.25, 32.61, 252.55°)
OKLaboklab(56.66% -0.0587 -0.0878)
OKLCHoklch(56.66% 0.106 236.2)
XYZxyz(15.9473, 18.6268, 41.7766)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297FAC #AC5629
analogous
#29AC98 #297FAC #293EAC
triadic
#297FAC #AC297F #7FAC29
tetradic
#297FAC #9829AC #AC5629 #3EAC29
square
#297FAC #9829AC #AC5629 #3EAC29
split-complementary
#297FAC #AC293E #AC9829
monochromatic
#113649 #1D5B7B #297FAC #41A0D2 #72B9DD

Accessibility & contrast

On white

4.44
#297FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#297FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297FAC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297FAC#FFFFFF#000000##000000
##297FAC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#008B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #297fac;
/* rgb */ color: rgb(41, 127, 172);
/* oklch */ color: oklch(56.7% 0.106 236.2);
Tailwind
colors: {
  custom: {
    50: '#76a4c5',
    500: '#297fac',
    950: '#000000',
  },
}
SCSS
$custom: #297fac;
$custom-light: #76a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#297fac",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 200.611,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56657,
    "c": 0.10557,
    "h": 236.2
  },
  "luminance": 0.18629
}

Semantic roles & 50–950 ramp

primary
#297FAC
secondary
#C58B6C
accent
#7B43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #297FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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