#295BB8#295BB8

#295BB8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.157 H 261.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#295BB8
RGBrgb(41, 91, 184)
HSLhsl(219, 64%, 44%)
HSVhsv(219, 78%, 72%)
CMYKcmyk(77.7%, 50.5%, 0%, 27.8%)
CIE-LABlab(40.27, 17.08, -53.97)
CIE-LCHlch(40.27, 56.60, 287.56°)
OKLaboklab(49.08% -0.0234 -0.1553)
OKLCHoklch(49.08% 0.157 261.4)
XYZxyz(13.3041, 11.4127, 46.8398)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BB8 #B88629
analogous
#29A3B8 #295BB8 #3F29B8
triadic
#295BB8 #B8295B #5BB829
tetradic
#295BB8 #B829A3 #B88629 #29B83F
square
#295BB8 #B829A3 #B88629 #29B83F
split-complementary
#295BB8 #B83F29 #A3B829
monochromatic
#132954 #1E4286 #295BB8 #487AD6 #7A9EE1

Accessibility & contrast

On white

6.40
#295BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#295BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BB8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BB8#FFFFFF#000000##FFFFFF
##295BB81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BB
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #295bb8;
/* rgb */ color: rgb(41, 91, 184);
/* oklch */ color: oklch(49.1% 0.157 261.4);
Tailwind
colors: {
  custom: {
    50: '#7888ce',
    500: '#295bb8',
    950: '#000000',
  },
}
SCSS
$custom: #295bb8;
$custom-light: #7888ce;
$custom-dark: #000000;
JSON
{
  "hex": "#295bb8",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 219.021,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.15703,
    "h": 261.4
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#295BB8
secondary
#C9AB73
accent
#AD41E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #295BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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