#295EB6#295EB6

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

Color values

HEX#295EB6
RGBrgb(41, 94, 182)
HSLhsl(217, 63%, 44%)
HSVhsv(217, 77%, 71%)
CMYKcmyk(77.5%, 48.4%, 0%, 28.6%)
CIE-LABlab(40.98, 14.35, -51.64)
CIE-LCHlch(40.98, 53.60, 285.53°)
OKLaboklab(49.58% -0.0261 -0.1484)
OKLCHoklch(49.58% 0.151 260)
XYZxyz(13.3576, 11.8527, 45.8307)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295EB6 #B68129
analogous
#29A4B6 #295EB6 #3A29B6
triadic
#295EB6 #B6295E #5EB629
tetradic
#295EB6 #B629A4 #B68129 #29B63A
square
#295EB6 #B629A4 #B68129 #29B63A
split-complementary
#295EB6 #B63A29 #A4B629
monochromatic
#122A52 #1E4484 #295EB6 #477CD5 #79A0E1

Accessibility & contrast

On white

6.23
#295EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #295EB6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295EB6#FFFFFF#000000##FFFFFF
##295EB61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295eb6;
/* rgb */ color: rgb(41, 94, 182);
/* oklch */ color: oklch(49.6% 0.151 260.0);
Tailwind
colors: {
  custom: {
    50: '#788bcc',
    500: '#295eb6',
    950: '#000000',
  },
}
SCSS
$custom: #295eb6;
$custom-light: #788bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#295eb6",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 217.447,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49581,
    "c": 0.15066,
    "h": 260
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#295EB6
secondary
#C9A872
accent
#A842E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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