#296AC6#296AC6

#296AC6 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.158 H 257.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#296AC6
RGBrgb(41, 106, 198)
HSLhsl(215, 66%, 47%)
HSVhsv(215, 79%, 78%)
CMYKcmyk(79.3%, 46.5%, 0%, 22.4%)
CIE-LABlab(45.43, 12.75, -53.77)
CIE-LCHlch(45.43, 55.26, 283.34°)
OKLaboklab(53.34% -0.0331 -0.1544)
OKLCHoklch(53.34% 0.158 257.9)
XYZxyz(16.2578, 14.8548, 55.4255)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296AC6 #C68529
analogous
#29B9C6 #296AC6 #3729C6
triadic
#296AC6 #C6296A #6AC629
tetradic
#296AC6 #C629B9 #C68529 #29C637
square
#296AC6 #C629B9 #C68529 #29C637
split-complementary
#296AC6 #C63729 #B9C629
monochromatic
#143461 #1F4F93 #296AC6 #518ADB #84ACE6

Accessibility & contrast

On white

5.29
#296AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#296AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296AC6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296AC6#FFFFFF#000000##FFFFFF
##296AC61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3873C9
Deuteranopia (green-blind)
#0B65C4
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #296ac6;
/* rgb */ color: rgb(41, 106, 198);
/* oklch */ color: oklch(53.3% 0.158 257.9);
Tailwind
colors: {
  custom: {
    50: '#7b94d8',
    500: '#296ac6',
    950: '#000000',
  },
}
SCSS
$custom: #296ac6;
$custom-light: #7b94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#296ac6",
  "rgb": {
    "r": 41,
    "g": 106,
    "b": 198
  },
  "hsl": {
    "h": 215.159,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.15789,
    "h": 257.9
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#296AC6
secondary
#CFAC7C
accent
#A23FE9
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #296AC6

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

Preview Lab → · Contrast checker → · Palette generator →

#296AC6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva