#295FB1#295FB1

#295FB1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.143 H 258.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#295FB1
RGBrgb(41, 95, 177)
HSLhsl(216, 62%, 43%)
HSVhsv(216, 77%, 69%)
CMYKcmyk(76.8%, 46.3%, 0%, 30.6%)
CIE-LABlab(40.94, 11.77, -48.77)
CIE-LCHlch(40.94, 50.17, 283.57°)
OKLaboklab(49.45% -0.0277 -0.1399)
OKLCHoklch(49.45% 0.143 258.8)
XYZxyz(12.9396, 11.8287, 43.1877)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FB1 #B17B29
analogous
#29A3B1 #295FB1 #3729B1
triadic
#295FB1 #B1295F #5FB129
tetradic
#295FB1 #B129A3 #B17B29 #29B137
square
#295FB1 #B129A3 #B17B29 #29B137
split-complementary
#295FB1 #B13729 #A3B129
monochromatic
#122A4E #1D447F #295FB1 #447DD4 #759FDF

Accessibility & contrast

On white

6.24
#295FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#295FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295FB1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FB1#FFFFFF#000000##FFFFFF
##295FB11.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#135BAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295fb1;
/* rgb */ color: rgb(41, 95, 177);
/* oklch */ color: oklch(49.4% 0.143 258.8);
Tailwind
colors: {
  custom: {
    50: '#778bc9',
    500: '#295fb1',
    950: '#000000',
  },
}
SCSS
$custom: #295fb1;
$custom-light: #778bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#295fb1",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 216.176,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.14263,
    "h": 258.8
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#295FB1
secondary
#C7A46F
accent
#A542E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #295FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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