#295DB4#295DB4

#295DB4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.149 H 260.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#295DB4
RGBrgb(41, 93, 180)
HSLhsl(218, 63%, 43%)
HSVhsv(218, 77%, 71%)
CMYKcmyk(77.2%, 48.3%, 0%, 29.4%)
CIE-LABlab(40.56, 14.23, -51.14)
CIE-LCHlch(40.56, 53.09, 285.55°)
OKLaboklab(49.22% -0.0256 -0.1469)
OKLCHoklch(49.22% 0.149 260.1)
XYZxyz(13.0640, 11.5939, 44.7205)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295DB4 #B48029
analogous
#29A2B4 #295DB4 #3A29B4
triadic
#295DB4 #B4295D #5DB429
tetradic
#295DB4 #B429A2 #B48029 #29B43A
square
#295DB4 #B429A2 #B48029 #29B43A
split-complementary
#295DB4 #B43A29 #A2B429
monochromatic
#122950 #1E4382 #295DB4 #457BD5 #779FE0

Accessibility & contrast

On white

6.33
#295DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#295DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295DB4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295DB4#FFFFFF#000000##FFFFFF
##295DB41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #295db4;
/* rgb */ color: rgb(41, 93, 180);
/* oklch */ color: oklch(49.2% 0.149 260.1);
Tailwind
colors: {
  custom: {
    50: '#778acb',
    500: '#295db4',
    950: '#000000',
  },
}
SCSS
$custom: #295db4;
$custom-light: #778acb;
$custom-dark: #000000;
JSON
{
  "hex": "#295db4",
  "rgb": {
    "r": 41,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 217.554,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.14913,
    "h": 260.1
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#295DB4
secondary
#C8A771
accent
#A942E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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