#296987#296987

#296987 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.3% C 0.080 H 232.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#296987
RGBrgb(41, 105, 135)
HSLhsl(199, 53%, 35%)
HSVhsv(199, 70%, 53%)
CMYKcmyk(69.6%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.72, -10.14, -22.53)
CIE-LCHlch(41.72, 24.71, 245.77°)
OKLaboklab(49.33% -0.0493 -0.0632)
OKLCHoklch(49.33% 0.08 232)
XYZxyz(10.3375, 12.3227, 24.7507)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296987 #874729
analogous
#298776 #296987 #293A87
triadic
#296987 #872969 #698729
tetradic
#296987 #762987 #874729 #3A8729
square
#296987 #762987 #874729 #3A8729
split-complementary
#296987 #87293A #877629
monochromatic
#0C2029 #1B4458 #296987 #378EB6 #5DAACE

Accessibility & contrast

On white

6.06
#296987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#296987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296987
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296987#FFFFFF#000000##FFFFFF
##2969871.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6888
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #296987;
/* rgb */ color: rgb(41, 105, 135);
/* oklch */ color: oklch(49.3% 0.080 232.0);
Tailwind
colors: {
  custom: {
    50: '#6f93aa',
    500: '#296987',
    950: '#000000',
  },
}
SCSS
$custom: #296987;
$custom-light: #6f93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#296987",
  "rgb": {
    "r": 41,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 199.149,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.49325,
    "c": 0.08018,
    "h": 232
  },
  "luminance": 0.12324
}

Semantic roles & 50–950 ramp

primary
#296987
secondary
#B37659
accent
#7A4BDD
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #296987

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

Preview Lab → · Contrast checker → · Palette generator →

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