#297EB2#297EB2

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

Color values

HEX#297EB2
RGBrgb(41, 126, 178)
HSLhsl(203, 63%, 43%)
HSVhsv(203, 77%, 70%)
CMYKcmyk(77%, 29.2%, 0%, 30.2%)
CIE-LABlab(50.22, -7.04, -34.62)
CIE-LCHlch(50.22, 35.33, 258.51°)
OKLaboklab(56.73% -0.0557 -0.0979)
OKLCHoklch(56.73% 0.113 240.4)
XYZxyz(16.4080, 18.6055, 44.8373)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297EB2 #B25D29
analogous
#29B2A1 #297EB2 #2939B2
triadic
#297EB2 #B2297E #7EB229
tetradic
#297EB2 #A129B2 #B25D29 #39B229
square
#297EB2 #A129B2 #B25D29 #39B229
split-complementary
#297EB2 #B22939 #B2A129
monochromatic
#12384F #1E5B80 #297EB2 #449DD4 #76B7DF

Accessibility & contrast

On white

4.45
#297EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#297EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297EB2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297EB2#FFFFFF#000000##000000
##297EB21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #297eb2;
/* rgb */ color: rgb(41, 126, 178);
/* oklch */ color: oklch(56.7% 0.113 240.4);
Tailwind
colors: {
  custom: {
    50: '#77a3c9',
    500: '#297eb2',
    950: '#000000',
  },
}
SCSS
$custom: #297eb2;
$custom-light: #77a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#297eb2",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 202.774,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.11267,
    "h": 240.4
  },
  "luminance": 0.18607
}

Semantic roles & 50–950 ramp

primary
#297EB2
secondary
#C79170
accent
#8042E6
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #297EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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