#297787#297787

#297787 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 52.9% C 0.078 H 214.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#297787
RGBrgb(41, 119, 135)
HSLhsl(190, 53%, 35%)
HSVhsv(190, 70%, 53%)
CMYKcmyk(69.6%, 11.9%, 0%, 47.1%)
CIE-LABlab(46.19, -18.07, -15.67)
CIE-LCHlch(46.19, 23.92, 220.93°)
OKLaboklab(52.9% -0.0647 -0.0436)
OKLCHoklch(52.9% 0.078 214)
XYZxyz(11.8826, 15.4130, 25.2657)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297787 #873929
analogous
#298768 #297787 #294887
triadic
#297787 #872977 #778729
tetradic
#297787 #682987 #873929 #488729
square
#297787 #682987 #873929 #488729
split-complementary
#297787 #872948 #876829
monochromatic
#0C2429 #1B4E58 #297787 #37A0B6 #5DBACE

Accessibility & contrast

On white

5.14
#297787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#297787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297787
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297787#FFFFFF#000000##FFFFFF
##2977871.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297787;
/* rgb */ color: rgb(41, 119, 135);
/* oklch */ color: oklch(52.9% 0.078 214.0);
Tailwind
colors: {
  custom: {
    50: '#709eaa',
    500: '#297787',
    950: '#000000',
  },
}
SCSS
$custom: #297787;
$custom-light: #709eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#297787",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 190.213,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52904,
    "c": 0.07802,
    "h": 214
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#297787
secondary
#B36859
accent
#644BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #297787

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

Preview Lab → · Contrast checker → · Palette generator →

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