#297197#297197

#297197 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.1% C 0.092 H 235.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#297197
RGBrgb(41, 113, 151)
HSLhsl(201, 57%, 38%)
HSVhsv(201, 73%, 59%)
CMYKcmyk(72.8%, 25.2%, 0%, 40.8%)
CIE-LABlab(44.96, -9.16, -27.06)
CIE-LCHlch(44.96, 28.56, 251.31°)
OKLaboklab(52.14% -0.052 -0.0762)
OKLCHoklch(52.14% 0.092 235.7)
XYZxyz(12.4033, 14.5146, 31.4201)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297197 #974F29
analogous
#299786 #297197 #293A97
triadic
#297197 #972971 #719729
tetradic
#297197 #862997 #974F29 #3A9729
square
#297197 #862997 #974F29 #3A9729
split-complementary
#297197 #97293A #978629
monochromatic
#0F2937 #1C4D67 #297197 #3695C7 #65AFD5

Accessibility & contrast

On white

5.38
#297197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#297197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297197
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297197#FFFFFF#000000##FFFFFF
##2971971.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7099
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #297197;
/* rgb */ color: rgb(41, 113, 151);
/* oklch */ color: oklch(52.1% 0.092 235.7);
Tailwind
colors: {
  custom: {
    50: '#7299b5',
    500: '#297197',
    950: '#000000',
  },
}
SCSS
$custom: #297197;
$custom-light: #7299b5;
$custom-dark: #000000;
JSON
{
  "hex": "#297197",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 200.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.0922,
    "h": 235.7
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#297197
secondary
#BB8061
accent
#7C47E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #297197

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

Preview Lab → · Contrast checker → · Palette generator →

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