#296799#296799

#296799 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.102 H 246.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#296799
RGBrgb(41, 103, 153)
HSLhsl(207, 58%, 38%)
HSVhsv(207, 73%, 60%)
CMYKcmyk(73.2%, 32.7%, 0%, 40%)
CIE-LABlab(41.95, -2.42, -32.96)
CIE-LCHlch(41.95, 33.04, 265.81°)
OKLaboklab(49.79% -0.041 -0.0934)
OKLCHoklch(49.79% 0.102 246.3)
XYZxyz(11.5123, 12.4705, 31.9311)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296799 #995B29
analogous
#299993 #296799 #292F99
triadic
#296799 #992967 #679929
tetradic
#296799 #932999 #995B29 #2F9929
square
#296799 #932999 #995B29 #2F9929
split-complementary
#296799 #99292F #999329
monochromatic
#0F2638 #1C4769 #296799 #3687C9 #66A4D6

Accessibility & contrast

On white

6.01
#296799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#296799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296799
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296799#FFFFFF#000000##FFFFFF
##2967991.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50699B
Deuteranopia (green-blind)
#415E98
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #296799;
/* rgb */ color: rgb(41, 103, 153);
/* oklch */ color: oklch(49.8% 0.102 246.3);
Tailwind
colors: {
  custom: {
    50: '#7292b7',
    500: '#296799',
    950: '#000000',
  },
}
SCSS
$custom: #296799;
$custom-light: #7292b7;
$custom-dark: #000000;
JSON
{
  "hex": "#296799",
  "rgb": {
    "r": 41,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 206.786,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.10201,
    "h": 246.3
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#296799
secondary
#BC8A62
accent
#8C47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #296799

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

Preview Lab → · Contrast checker → · Palette generator →

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