#295CA4#295CA4

#295CA4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.9% C 0.128 H 257.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#295CA4
RGBrgb(41, 92, 164)
HSLhsl(215, 60%, 40%)
HSVhsv(215, 75%, 64%)
CMYKcmyk(75%, 43.9%, 0%, 35.7%)
CIE-LABlab(39.25, 8.72, -43.80)
CIE-LCHlch(39.25, 44.66, 281.26°)
OKLaboklab(47.88% -0.0276 -0.1253)
OKLCHoklch(47.88% 0.128 257.6)
XYZxyz(11.4400, 10.8048, 36.5974)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295CA4 #A47129
analogous
#2999A4 #295CA4 #3329A4
triadic
#295CA4 #A4295C #5CA429
tetradic
#295CA4 #A42999 #A47129 #29A433
square
#295CA4 #A42999 #A47129 #29A433
split-complementary
#295CA4 #A43329 #99A429
monochromatic
#112542 #1D4173 #295CA4 #3C79CE #6D9ADA

Accessibility & contrast

On white

6.64
#295CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#295CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295CA4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295CA4#FFFFFF#000000##FFFFFF
##295CA41.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A7
Deuteranopia (green-blind)
#2257A3
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #295ca4;
/* rgb */ color: rgb(41, 92, 164);
/* oklch */ color: oklch(47.9% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#7489bf',
    500: '#295ca4',
    950: '#000000',
  },
}
SCSS
$custom: #295ca4;
$custom-light: #7489bf;
$custom-dark: #000000;
JSON
{
  "hex": "#295ca4",
  "rgb": {
    "r": 41,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 215.122,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.12834,
    "h": 257.6
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#295CA4
secondary
#C19C68
accent
#A145E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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