#297BB1#297BB1

#297BB1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.114 H 242.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#297BB1
RGBrgb(41, 123, 177)
HSLhsl(204, 62%, 43%)
HSVhsv(204, 77%, 69%)
CMYKcmyk(76.8%, 30.5%, 0%, 30.6%)
CIE-LABlab(49.26, -5.64, -35.54)
CIE-LCHlch(49.26, 35.99, 260.99°)
OKLaboklab(55.96% -0.0531 -0.1007)
OKLCHoklch(55.96% 0.114 242.2)
XYZxyz(15.9301, 17.8098, 44.1845)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297BB1 #B15F29
analogous
#29B1A3 #297BB1 #2937B1
triadic
#297BB1 #B1297B #7BB129
tetradic
#297BB1 #A329B1 #B15F29 #37B129
square
#297BB1 #A329B1 #B15F29 #37B129
split-complementary
#297BB1 #B12937 #B1A329
monochromatic
#12364E #1D587F #297BB1 #449AD4 #75B5DF

Accessibility & contrast

On white

4.60
#297BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#297BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #297BB1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297BB1#FFFFFF#000000##FFFFFF
##297BB11.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627CB3
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #297bb1;
/* rgb */ color: rgb(41, 123, 177);
/* oklch */ color: oklch(56.0% 0.114 242.2);
Tailwind
colors: {
  custom: {
    50: '#77a1c8',
    500: '#297bb1',
    950: '#000000',
  },
}
SCSS
$custom: #297bb1;
$custom-light: #77a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#297bb1",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 203.824,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.11385,
    "h": 242.2
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#297BB1
secondary
#C7926F
accent
#8342E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #297BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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