#296797#296797

#296797 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.7% C 0.100 H 245.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#296797
RGBrgb(41, 103, 151)
HSLhsl(206, 57%, 38%)
HSVhsv(206, 73%, 59%)
CMYKcmyk(72.8%, 31.8%, 0%, 40.8%)
CIE-LABlab(41.85, -3.16, -31.92)
CIE-LCHlch(41.85, 32.08, 264.35°)
OKLaboklab(49.68% -0.0416 -0.0904)
OKLCHoklch(49.68% 0.1 245.3)
XYZxyz(11.3485, 12.4050, 31.0685)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296797 #975929
analogous
#299790 #296797 #293097
triadic
#296797 #972967 #679729
tetradic
#296797 #902997 #975929 #309729
square
#296797 #902997 #975929 #309729
split-complementary
#296797 #972930 #979029
monochromatic
#0F2537 #1C4667 #296797 #3688C7 #65A4D5

Accessibility & contrast

On white

6.03
#296797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#296797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296797
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296797#FFFFFF#000000##FFFFFF
##2967971.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516999
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #296797;
/* rgb */ color: rgb(41, 103, 151);
/* oklch */ color: oklch(49.7% 0.100 245.3);
Tailwind
colors: {
  custom: {
    50: '#7192b6',
    500: '#296797',
    950: '#000000',
  },
}
SCSS
$custom: #296797;
$custom-light: #7192b6;
$custom-dark: #000000;
JSON
{
  "hex": "#296797",
  "rgb": {
    "r": 41,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 206.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.09952,
    "h": 245.3
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#296797
secondary
#BB8861
accent
#8A47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #296797

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

Preview Lab → · Contrast checker → · Palette generator →

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