#295FB4#295FB4

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

Color values

HEX#295FB4
RGBrgb(41, 95, 180)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 77%, 71%)
CMYKcmyk(77.2%, 47.2%, 0%, 29.4%)
CIE-LABlab(41.14, 12.93, -50.22)
CIE-LCHlch(41.14, 51.86, 284.44°)
OKLaboklab(49.66% -0.0272 -0.1442)
OKLCHoklch(49.66% 0.147 259.3)
XYZxyz(13.2419, 11.9496, 44.7798)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FB4 #B47E29
analogous
#29A4B4 #295FB4 #3929B4
triadic
#295FB4 #B4295F #5FB429
tetradic
#295FB4 #B429A4 #B47E29 #29B439
square
#295FB4 #B429A4 #B47E29 #29B439
split-complementary
#295FB4 #B43929 #A4B429
monochromatic
#122A50 #1E4582 #295FB4 #457DD5 #77A0E0

Accessibility & contrast

On white

6.19
#295FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#295FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295FB4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FB4#FFFFFF#000000##FFFFFF
##295FB41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#095BB2
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295fb4;
/* rgb */ color: rgb(41, 95, 180);
/* oklch */ color: oklch(49.7% 0.147 259.3);
Tailwind
colors: {
  custom: {
    50: '#778bcb',
    500: '#295fb4',
    950: '#000000',
  },
}
SCSS
$custom: #295fb4;
$custom-light: #778bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#295fb4",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 216.691,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.14672,
    "h": 259.3
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #295FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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