#295BC6#295BC6

#295BC6 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.176 H 262.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#295BC6
RGBrgb(41, 91, 198)
HSLhsl(221, 66%, 47%)
HSVhsv(221, 79%, 78%)
CMYKcmyk(79.3%, 54%, 0%, 22.4%)
CIE-LABlab(41.26, 22.45, -60.51)
CIE-LCHlch(41.26, 64.54, 290.35°)
OKLaboklab(50.15% -0.0219 -0.1745)
OKLCHoklch(50.15% 0.176 262.9)
XYZxyz(14.8449, 12.0291, 54.9546)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BC6 #C69429
analogous
#29A9C6 #295BC6 #4629C6
triadic
#295BC6 #C6295B #5BC629
tetradic
#295BC6 #C629A9 #C69429 #29C646
square
#295BC6 #C629A9 #C69429 #29C646
split-complementary
#295BC6 #C64629 #A9C629
monochromatic
#142C61 #1F4493 #295BC6 #517DDB #84A3E6

Accessibility & contrast

On white

6.17
#295BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#295BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BC6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BC6#FFFFFF#000000##FFFFFF
##295BC61.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295bc6;
/* rgb */ color: rgb(41, 91, 198);
/* oklch */ color: oklch(50.2% 0.176 262.9);
Tailwind
colors: {
  custom: {
    50: '#7c88d8',
    500: '#295bc6',
    950: '#000000',
  },
}
SCSS
$custom: #295bc6;
$custom-light: #7c88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#295bc6",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 198
  },
  "hsl": {
    "h": 220.892,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.17589,
    "h": 262.9
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#295BC6
secondary
#CFB47C
accent
#B33FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #295BC6

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

Preview Lab → · Contrast checker → · Palette generator →

#295BC6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva