#295EB1#295EB1

#295EB1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.144 H 259.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#295EB1
RGBrgb(41, 94, 177)
HSLhsl(217, 62%, 43%)
HSVhsv(217, 77%, 69%)
CMYKcmyk(76.8%, 46.9%, 0%, 30.6%)
CIE-LABlab(40.65, 12.42, -49.23)
CIE-LCHlch(40.65, 50.78, 284.16°)
OKLaboklab(49.23% -0.0269 -0.1413)
OKLCHoklch(49.23% 0.144 259.2)
XYZxyz(12.8501, 11.6497, 43.1578)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295EB1 #B17C29
analogous
#29A2B1 #295EB1 #3829B1
triadic
#295EB1 #B1295E #5EB129
tetradic
#295EB1 #B129A2 #B17C29 #29B138
square
#295EB1 #B129A2 #B17C29 #29B138
split-complementary
#295EB1 #B13829 #A2B129
monochromatic
#12294E #1D447F #295EB1 #447CD4 #759FDF

Accessibility & contrast

On white

6.31
#295EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#295EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295EB1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295EB1#FFFFFF#000000##FFFFFF
##295EB11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B4
Deuteranopia (green-blind)
#0E5AAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #295eb1;
/* rgb */ color: rgb(41, 94, 177);
/* oklch */ color: oklch(49.2% 0.144 259.2);
Tailwind
colors: {
  custom: {
    50: '#778bc9',
    500: '#295eb1',
    950: '#000000',
  },
}
SCSS
$custom: #295eb1;
$custom-light: #778bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#295eb1",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 177
  },
  "hsl": {
    "h": 216.618,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.14383,
    "h": 259.2
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#295EB1
secondary
#C7A56F
accent
#A642E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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