#295FB3#295FB3

#295FB3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.145 H 259.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#295FB3
RGBrgb(41, 95, 179)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 77%, 70%)
CMYKcmyk(77.1%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.07, 12.54, -49.74)
CIE-LCHlch(41.07, 51.30, 284.15°)
OKLaboklab(49.59% -0.0274 -0.1427)
OKLCHoklch(49.59% 0.145 259.1)
XYZxyz(13.1404, 11.9090, 44.2452)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FB3 #B37D29
analogous
#29A4B3 #295FB3 #3829B3
triadic
#295FB3 #B3295F #5FB329
tetradic
#295FB3 #B329A4 #B37D29 #29B338
square
#295FB3 #B329A4 #B37D29 #29B338
split-complementary
#295FB3 #B33829 #A4B329
monochromatic
#122A4F #1E4581 #295FB3 #457DD4 #77A0E0

Accessibility & contrast

On white

6.21
#295FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#295FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295FB3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FB3#FFFFFF#000000##FFFFFF
##295FB31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#0D5BB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295fb3;
/* rgb */ color: rgb(41, 95, 179);
/* oklch */ color: oklch(49.6% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#778bca',
    500: '#295fb3',
    950: '#000000',
  },
}
SCSS
$custom: #295fb3;
$custom-light: #778bca;
$custom-dark: #000000;
JSON
{
  "hex": "#295fb3",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 216.522,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49588,
    "c": 0.14536,
    "h": 259.1
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#295FB3
secondary
#C7A570
accent
#A642E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #295FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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