#295EB4#295EB4

#295EB4 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.148 H 259.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#295EB4
RGBrgb(41, 94, 180)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 77%, 71%)
CMYKcmyk(77.2%, 47.8%, 0%, 29.4%)
CIE-LABlab(40.85, 13.58, -50.68)
CIE-LCHlch(40.85, 52.47, 285.00°)
OKLaboklab(49.44% -0.0264 -0.1456)
OKLCHoklch(49.44% 0.148 259.7)
XYZxyz(13.1524, 11.7706, 44.7499)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295EB4 #B47F29
analogous
#29A3B4 #295EB4 #3929B4
triadic
#295EB4 #B4295E #5EB429
tetradic
#295EB4 #B429A3 #B47F29 #29B439
square
#295EB4 #B429A3 #B47F29 #29B439
split-complementary
#295EB4 #B43929 #A3B429
monochromatic
#122A50 #1E4482 #295EB4 #457CD5 #779FE0

Accessibility & contrast

On white

6.26
#295EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#295EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295EB4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295EB4#FFFFFF#000000##FFFFFF
##295EB41.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #295eb4;
/* rgb */ color: rgb(41, 94, 180);
/* oklch */ color: oklch(49.4% 0.148 259.7);
Tailwind
colors: {
  custom: {
    50: '#778bcb',
    500: '#295eb4',
    950: '#000000',
  },
}
SCSS
$custom: #295eb4;
$custom-light: #778bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#295eb4",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 217.122,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.14793,
    "h": 259.7
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #295EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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