#297791#297791

#297791 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.4% C 0.084 H 224.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#297791
RGBrgb(41, 119, 145)
HSLhsl(195, 56%, 36%)
HSVhsv(195, 72%, 57%)
CMYKcmyk(71.7%, 17.9%, 0%, 43.1%)
CIE-LABlab(46.59, -14.70, -20.99)
CIE-LCHlch(46.59, 25.62, 234.99°)
OKLaboklab(53.35% -0.0606 -0.0587)
OKLCHoklch(53.35% 0.084 224.1)
XYZxyz(12.6200, 15.7080, 29.1494)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297791 #914329
analogous
#299177 #297791 #294391
triadic
#297791 #912977 #779129
tetradic
#297791 #772991 #914329 #439129
square
#297791 #772991 #914329 #439129
split-complementary
#297791 #912943 #917729
monochromatic
#0E2932 #1C5061 #297791 #369EC1 #62B6D3

Accessibility & contrast

On white

5.07
#297791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#297791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297791
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297791#FFFFFF#000000##FFFFFF
##2977911.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687492
Deuteranopia (green-blind)
#5A6A91
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297791;
/* rgb */ color: rgb(41, 119, 145);
/* oklch */ color: oklch(53.4% 0.084 224.1);
Tailwind
colors: {
  custom: {
    50: '#719eb1',
    500: '#297791',
    950: '#000000',
  },
}
SCSS
$custom: #297791;
$custom-light: #719eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#297791",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 195,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.08433,
    "h": 224.1
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#297791
secondary
#B8745D
accent
#6E49DF
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #297791

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

Preview Lab → · Contrast checker → · Palette generator →

#297791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva