#297EC4#297EC4

#297EC4 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.7% C 0.134 H 247.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#297EC4
RGBrgb(41, 126, 196)
HSLhsl(207, 65%, 46%)
HSVhsv(207, 79%, 77%)
CMYKcmyk(79.1%, 35.7%, 0%, 23.1%)
CIE-LABlab(51.12, -0.43, -43.54)
CIE-LCHlch(51.12, 43.54, 269.44°)
OKLaboklab(57.74% -0.0503 -0.124)
OKLCHoklch(57.74% 0.134 247.9)
XYZxyz(18.3353, 19.3764, 54.9875)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297EC4 #C46F29
analogous
#29C4BD #297EC4 #2930C4
triadic
#297EC4 #C4297E #7EC429
tetradic
#297EC4 #BD29C4 #C46F29 #30C429
square
#297EC4 #BD29C4 #C46F29 #30C429
split-complementary
#297EC4 #C42930 #C4BD29
monochromatic
#143D5F #1E5D91 #297EC4 #509CDA #82B8E5

Accessibility & contrast

On white

4.31
#297EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#297EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297EC4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297EC4#FFFFFF#000000##000000
##297EC41.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C7
Deuteranopia (green-blind)
#4673C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #297ec4;
/* rgb */ color: rgb(41, 126, 196);
/* oklch */ color: oklch(57.7% 0.134 247.9);
Tailwind
colors: {
  custom: {
    50: '#7aa3d6',
    500: '#297ec4',
    950: '#000000',
  },
}
SCSS
$custom: #297ec4;
$custom-light: #7aa3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#297ec4",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 207.097,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.13381,
    "h": 247.9
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#297EC4
secondary
#CEA07B
accent
#8C3FE8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #297EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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