#295CC6#295CC6

#295CC6 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.175 H 262.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#295CC6
RGBrgb(41, 92, 198)
HSLhsl(221, 66%, 47%)
HSVhsv(221, 79%, 78%)
CMYKcmyk(79.3%, 53.5%, 0%, 22.4%)
CIE-LABlab(41.53, 21.79, -60.07)
CIE-LCHlch(41.53, 63.90, 289.94°)
OKLaboklab(50.36% -0.0226 -0.1732)
OKLCHoklch(50.36% 0.175 262.6)
XYZxyz(14.9310, 12.2012, 54.9833)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295CC6 #C69329
analogous
#29AAC6 #295CC6 #4529C6
triadic
#295CC6 #C6295C #5CC629
tetradic
#295CC6 #C629AA #C69329 #29C645
square
#295CC6 #C629AA #C69329 #29C645
split-complementary
#295CC6 #C64529 #AAC629
monochromatic
#142D61 #1F4493 #295CC6 #517EDB #84A4E6

Accessibility & contrast

On white

6.10
#295CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#295CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295CC6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295CC6#FFFFFF#000000##FFFFFF
##295CC61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016ACA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #295cc6;
/* rgb */ color: rgb(41, 92, 198);
/* oklch */ color: oklch(50.4% 0.175 262.6);
Tailwind
colors: {
  custom: {
    50: '#7b89d8',
    500: '#295cc6',
    950: '#000000',
  },
}
SCSS
$custom: #295cc6;
$custom-light: #7b89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#295cc6",
  "rgb": {
    "r": 41,
    "g": 92,
    "b": 198
  },
  "hsl": {
    "h": 220.51,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.17467,
    "h": 262.6
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#295CC6
secondary
#CFB47C
accent
#B23FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #295CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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