#297AB1#297AB1

#297AB1 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.115 H 242.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#297AB1
RGBrgb(41, 122, 177)
HSLhsl(204, 62%, 43%)
HSVhsv(204, 77%, 69%)
CMYKcmyk(76.8%, 31.1%, 0%, 30.6%)
CIE-LABlab(48.96, -5.05, -36.02)
CIE-LCHlch(48.96, 36.37, 262.03°)
OKLaboklab(55.72% -0.0522 -0.1021)
OKLCHoklch(55.72% 0.115 242.9)
XYZxyz(15.8067, 17.5629, 44.1434)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297AB1 #B16029
analogous
#29B1A4 #297AB1 #2936B1
triadic
#297AB1 #B1297A #7AB129
tetradic
#297AB1 #A429B1 #B16029 #36B129
square
#297AB1 #A429B1 #B16029 #36B129
split-complementary
#297AB1 #B12936 #B1A429
monochromatic
#12364E #1D587F #297AB1 #4499D4 #75B4DF

Accessibility & contrast

On white

4.65
#297AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#297AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #297AB1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297AB1#FFFFFF#000000##FFFFFF
##297AB11.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607BB3
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #297ab1;
/* rgb */ color: rgb(41, 122, 177);
/* oklch */ color: oklch(55.7% 0.115 242.9);
Tailwind
colors: {
  custom: {
    50: '#77a0c8',
    500: '#297ab1',
    950: '#000000',
  },
}
SCSS
$custom: #297ab1;
$custom-light: #77a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#297ab1",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 204.265,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55715,
    "c": 0.11465,
    "h": 242.9
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#297AB1
secondary
#C7936F
accent
#8442E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #297AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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