#295FB6#295FB6

#295FB6 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.149 H 259.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#295FB6
RGBrgb(41, 95, 182)
HSLhsl(217, 63%, 44%)
HSVhsv(217, 77%, 71%)
CMYKcmyk(77.5%, 47.8%, 0%, 28.6%)
CIE-LABlab(41.27, 13.70, -51.18)
CIE-LCHlch(41.27, 52.98, 284.98°)
OKLaboklab(49.8% -0.0269 -0.147)
OKLCHoklch(49.8% 0.149 259.6)
XYZxyz(13.4471, 12.0317, 45.8605)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FB6 #B68029
analogous
#29A5B6 #295FB6 #3929B6
triadic
#295FB6 #B6295F #5FB629
tetradic
#295FB6 #B629A5 #B68029 #29B639
square
#295FB6 #B629A5 #B68029 #29B639
split-complementary
#295FB6 #B63929 #A5B629
monochromatic
#122B52 #1E4584 #295FB6 #477DD5 #79A1E1

Accessibility & contrast

On white

6.16
#295FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #295FB6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FB6#FFFFFF#000000##FFFFFF
##295FB61.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295fb6;
/* rgb */ color: rgb(41, 95, 182);
/* oklch */ color: oklch(49.8% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#788bcc',
    500: '#295fb6',
    950: '#000000',
  },
}
SCSS
$custom: #295fb6;
$custom-light: #788bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#295fb6",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 217.021,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.14944,
    "h": 259.6
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#295FB6
secondary
#C9A872
accent
#A742E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #295FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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