#295BB4#295BB4

#295BB4 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.152 H 260.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#295BB4
RGBrgb(41, 91, 180)
HSLhsl(218, 63%, 43%)
HSVhsv(218, 77%, 71%)
CMYKcmyk(77.2%, 49.4%, 0%, 29.4%)
CIE-LABlab(39.99, 15.54, -52.06)
CIE-LCHlch(39.99, 54.33, 286.62°)
OKLaboklab(48.78% -0.024 -0.1497)
OKLCHoklch(48.78% 0.152 260.9)
XYZxyz(12.8908, 11.2474, 44.6627)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BB4 #B48229
analogous
#29A0B4 #295BB4 #3C29B4
triadic
#295BB4 #B4295B #5BB429
tetradic
#295BB4 #B429A0 #B48229 #29B43C
square
#295BB4 #B429A0 #B48229 #29B43C
split-complementary
#295BB4 #B43C29 #A0B429
monochromatic
#122950 #1E4282 #295BB4 #4579D5 #779DE0

Accessibility & contrast

On white

6.46
#295BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#295BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BB4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BB4#FFFFFF#000000##FFFFFF
##295BB41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #295bb4;
/* rgb */ color: rgb(41, 91, 180);
/* oklch */ color: oklch(48.8% 0.152 260.9);
Tailwind
colors: {
  custom: {
    50: '#7788cb',
    500: '#295bb4',
    950: '#000000',
  },
}
SCSS
$custom: #295bb4;
$custom-light: #7788cb;
$custom-dark: #000000;
JSON
{
  "hex": "#295bb4",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 218.417,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.15157,
    "h": 260.9
  },
  "luminance": 0.11249
}

Semantic roles & 50–950 ramp

primary
#295BB4
secondary
#C8A971
accent
#AB42E6
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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