#297DC4#297DC4

#297DC4 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.5% C 0.135 H 248.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#297DC4
RGBrgb(41, 125, 196)
HSLhsl(207, 65%, 46%)
HSVhsv(207, 79%, 77%)
CMYKcmyk(79.1%, 36.2%, 0%, 23.1%)
CIE-LABlab(50.83, 0.18, -44.00)
CIE-LCHlch(50.83, 44.00, 270.23°)
OKLaboklab(57.51% -0.0494 -0.1254)
OKLCHoklch(57.51% 0.135 248.5)
XYZxyz(18.2081, 19.1220, 54.9451)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297DC4 #C47029
analogous
#29C4BE #297DC4 #292FC4
triadic
#297DC4 #C4297D #7DC429
tetradic
#297DC4 #BE29C4 #C47029 #2FC429
square
#297DC4 #BE29C4 #C47029 #2FC429
split-complementary
#297DC4 #C4292F #C4BE29
monochromatic
#143C5F #1E5D91 #297DC4 #509BDA #82B8E5

Accessibility & contrast

On white

4.35
#297DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#297DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297DC4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297DC4#FFFFFF#000000##000000
##297DC41.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C7
Deuteranopia (green-blind)
#4573C3
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #297dc4;
/* rgb */ color: rgb(41, 125, 196);
/* oklch */ color: oklch(57.5% 0.135 248.5);
Tailwind
colors: {
  custom: {
    50: '#7aa2d6',
    500: '#297dc4',
    950: '#000000',
  },
}
SCSS
$custom: #297dc4;
$custom-light: #7aa2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#297dc4",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 207.484,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.13476,
    "h": 248.5
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#297DC4
secondary
#CEA17B
accent
#8D3FE8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #297DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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