#295FB5#295FB5

#295FB5 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.148 H 259.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#295FB5
RGBrgb(41, 95, 181)
HSLhsl(217, 63%, 44%)
HSVhsv(217, 77%, 71%)
CMYKcmyk(77.3%, 47.5%, 0%, 29%)
CIE-LABlab(41.20, 13.31, -50.70)
CIE-LCHlch(41.20, 52.42, 284.71°)
OKLaboklab(49.73% -0.0271 -0.1456)
OKLCHoklch(49.73% 0.148 259.5)
XYZxyz(13.3441, 11.9905, 45.3182)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FB5 #B57F29
analogous
#29A5B5 #295FB5 #3929B5
triadic
#295FB5 #B5295F #5FB529
tetradic
#295FB5 #B529A5 #B57F29 #29B539
square
#295FB5 #B529A5 #B57F29 #29B539
split-complementary
#295FB5 #B53929 #A5B529
monochromatic
#122B51 #1E4583 #295FB5 #467DD5 #78A0E0

Accessibility & contrast

On white

6.18
#295FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#295FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295FB5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FB5#FFFFFF#000000##FFFFFF
##295FB51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B8
Deuteranopia (green-blind)
#045BB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295fb5;
/* rgb */ color: rgb(41, 95, 181);
/* oklch */ color: oklch(49.7% 0.148 259.5);
Tailwind
colors: {
  custom: {
    50: '#778bcc',
    500: '#295fb5',
    950: '#000000',
  },
}
SCSS
$custom: #295fb5;
$custom-light: #778bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#295fb5",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 216.857,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.14809,
    "h": 259.5
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#295FB5
secondary
#C8A772
accent
#A742E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #295FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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