#297DB4#297DB4

#297DB4 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.116 H 242.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#297DB4
RGBrgb(41, 125, 180)
HSLhsl(204, 63%, 43%)
HSVhsv(204, 77%, 71%)
CMYKcmyk(77.2%, 30.6%, 0%, 29.4%)
CIE-LABlab(50.02, -5.72, -36.10)
CIE-LCHlch(50.02, 36.55, 260.99°)
OKLaboklab(56.6% -0.0541 -0.1023)
OKLCHoklch(56.6% 0.116 242.1)
XYZxyz(16.4831, 18.4320, 45.8602)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297DB4 #B46029
analogous
#29B4A5 #297DB4 #2937B4
triadic
#297DB4 #B4297D #7DB429
tetradic
#297DB4 #A529B4 #B46029 #37B429
square
#297DB4 #A529B4 #B46029 #37B429
split-complementary
#297DB4 #B42937 #B4A529
monochromatic
#123850 #1E5A82 #297DB4 #459CD5 #77B7E0

Accessibility & contrast

On white

4.48
#297DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#297DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297DB4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297DB4#FFFFFF#000000##000000
##297DB41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#637EB6
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #297db4;
/* rgb */ color: rgb(41, 125, 180);
/* oklch */ color: oklch(56.6% 0.116 242.1);
Tailwind
colors: {
  custom: {
    50: '#77a2ca',
    500: '#297db4',
    950: '#000000',
  },
}
SCSS
$custom: #297db4;
$custom-light: #77a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#297db4",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 203.741,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.1157,
    "h": 242.1
  },
  "luminance": 0.18434
}

Semantic roles & 50–950 ramp

primary
#297DB4
secondary
#C89371
accent
#8342E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #297DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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