#295BBB#295BBB

#295BBB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.161 H 261.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#295BBB
RGBrgb(41, 91, 187)
HSLhsl(219, 64%, 45%)
HSVhsv(219, 78%, 73%)
CMYKcmyk(78.1%, 51.3%, 0%, 26.7%)
CIE-LABlab(40.48, 18.23, -55.38)
CIE-LCHlch(40.48, 58.31, 288.22°)
OKLaboklab(49.3% -0.023 -0.1594)
OKLCHoklch(49.3% 0.161 261.8)
XYZxyz(13.6219, 11.5399, 48.5136)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BBB #BB8929
analogous
#29A4BB #295BBB #4029BB
triadic
#295BBB #BB295B #5BBB29
tetradic
#295BBB #BB29A4 #BB8929 #29BB40
square
#295BBB #BB29A4 #BB8929 #29BB40
split-complementary
#295BBB #BB4029 #A4BB29
monochromatic
#132A57 #1E4389 #295BBB #4A7AD7 #7C9FE2

Accessibility & contrast

On white

6.35
#295BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#295BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BBB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BBB#FFFFFF#000000##FFFFFF
##295BBB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #295bbb;
/* rgb */ color: rgb(41, 91, 187);
/* oklch */ color: oklch(49.3% 0.161 261.8);
Tailwind
colors: {
  custom: {
    50: '#7988d0',
    500: '#295bbb',
    950: '#000000',
  },
}
SCSS
$custom: #295bbb;
$custom-light: #7988d0;
$custom-dark: #000000;
JSON
{
  "hex": "#295bbb",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 219.452,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.1611,
    "h": 261.8
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#295BBB
secondary
#CBAD75
accent
#AE41E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #295BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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