#295BB1#295BB1

#295BB1 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.147 H 260.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#295BB1
RGBrgb(41, 91, 177)
HSLhsl(218, 62%, 43%)
HSVhsv(218, 77%, 69%)
CMYKcmyk(76.8%, 48.6%, 0%, 30.6%)
CIE-LABlab(39.79, 14.38, -50.62)
CIE-LCHlch(39.79, 52.62, 285.86°)
OKLaboklab(48.56% -0.0244 -0.1454)
OKLCHoklch(48.56% 0.147 260.5)
XYZxyz(12.5885, 11.1265, 43.0706)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BB1 #B17F29
analogous
#299FB1 #295BB1 #3B29B1
triadic
#295BB1 #B1295B #5BB129
tetradic
#295BB1 #B1299F #B17F29 #29B13B
square
#295BB1 #B1299F #B17F29 #29B13B
split-complementary
#295BB1 #B13B29 #9FB129
monochromatic
#12284E #1D417F #295BB1 #4479D4 #759CDF

Accessibility & contrast

On white

6.51
#295BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#295BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BB1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BB1#FFFFFF#000000##FFFFFF
##295BB11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #295bb1;
/* rgb */ color: rgb(41, 91, 177);
/* oklch */ color: oklch(48.6% 0.147 260.5);
Tailwind
colors: {
  custom: {
    50: '#7788c9',
    500: '#295bb1',
    950: '#000000',
  },
}
SCSS
$custom: #295bb1;
$custom-light: #7788c9;
$custom-dark: #000000;
JSON
{
  "hex": "#295bb1",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 217.941,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48563,
    "c": 0.14745,
    "h": 260.5
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#295BB1
secondary
#C7A66F
accent
#A942E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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