#295CA5#295CA5

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

Color values

HEX#295CA5
RGBrgb(41, 92, 165)
HSLhsl(215, 60%, 40%)
HSVhsv(215, 75%, 65%)
CMYKcmyk(75.2%, 44.2%, 0%, 35.3%)
CIE-LABlab(39.31, 9.11, -44.29)
CIE-LCHlch(39.31, 45.22, 281.62°)
OKLaboklab(47.94% -0.0274 -0.1268)
OKLCHoklch(47.94% 0.13 257.8)
XYZxyz(11.5306, 10.8410, 37.0748)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295CA5 #A57229
analogous
#299AA5 #295CA5 #3429A5
triadic
#295CA5 #A5295C #5CA529
tetradic
#295CA5 #A5299A #A57229 #29A534
square
#295CA5 #A5299A #A57229 #29A534
split-complementary
#295CA5 #A53429 #9AA529
monochromatic
#112543 #1D4174 #295CA5 #3D79CF #6E9BDB

Accessibility & contrast

On white

6.63
#295CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#295CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295CA5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295CA5#FFFFFF#000000##FFFFFF
##295CA51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#2057A4
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #295ca5;
/* rgb */ color: rgb(41, 92, 165);
/* oklch */ color: oklch(47.9% 0.130 257.8);
Tailwind
colors: {
  custom: {
    50: '#7489c0',
    500: '#295ca5',
    950: '#000000',
  },
}
SCSS
$custom: #295ca5;
$custom-light: #7489c0;
$custom-dark: #000000;
JSON
{
  "hex": "#295ca5",
  "rgb": {
    "r": 41,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 215.323,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.12972,
    "h": 257.8
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#295CA5
secondary
#C29D68
accent
#A244E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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