#297BAF#297BAF

#297BAF is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.112 H 241.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#297BAF
RGBrgb(41, 123, 175)
HSLhsl(203, 62%, 42%)
HSVhsv(203, 77%, 69%)
CMYKcmyk(76.6%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.17, -6.37, -34.54)
CIE-LCHlch(49.17, 35.12, 259.55°)
OKLaboklab(55.85% -0.0538 -0.0977)
OKLCHoklch(55.85% 0.112 241.2)
XYZxyz(15.7322, 17.7306, 43.1423)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297BAF #AF5D29
analogous
#29AFA0 #297BAF #2938AF
triadic
#297BAF #AF297B #7BAF29
tetradic
#297BAF #A029AF #AF5D29 #38AF29
square
#297BAF #A029AF #AF5D29 #38AF29
split-complementary
#297BAF #AF2938 #AFA029
monochromatic
#12354C #1D587D #297BAF #429BD3 #74B5DE

Accessibility & contrast

On white

4.62
#297BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#297BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #297BAF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297BAF#FFFFFF#000000##FFFFFF
##297BAF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #297baf;
/* rgb */ color: rgb(41, 123, 175);
/* oklch */ color: oklch(55.8% 0.112 241.2);
Tailwind
colors: {
  custom: {
    50: '#76a1c7',
    500: '#297baf',
    950: '#000000',
  },
}
SCSS
$custom: #297baf;
$custom-light: #76a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#297baf",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 203.284,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.11157,
    "h": 241.2
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#297BAF
secondary
#C6906E
accent
#8243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #297BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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