#295EBC#295EBC

#295EBC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.159 H 260.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#295EBC
RGBrgb(41, 94, 188)
HSLhsl(218, 64%, 45%)
HSVhsv(218, 78%, 74%)
CMYKcmyk(78.2%, 50%, 0%, 26.3%)
CIE-LABlab(41.38, 16.66, -54.50)
CIE-LCHlch(41.38, 56.99, 286.99°)
OKLaboklab(50.02% -0.0252 -0.1568)
OKLCHoklch(50.02% 0.159 260.9)
XYZxyz(13.9910, 12.1060, 49.1665)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295EBC #BC8729
analogous
#29A8BC #295EBC #3D29BC
triadic
#295EBC #BC295E #5EBC29
tetradic
#295EBC #BC29A8 #BC8729 #29BC3D
square
#295EBC #BC29A8 #BC8729 #29BC3D
split-complementary
#295EBC #BC3D29 #A8BC29
monochromatic
#132C58 #1E458A #295EBC #4B7DD8 #7DA2E3

Accessibility & contrast

On white

6.14
#295EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#295EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295EBC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295EBC#FFFFFF#000000##FFFFFF
##295EBC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #295ebc;
/* rgb */ color: rgb(41, 94, 188);
/* oklch */ color: oklch(50.0% 0.159 260.9);
Tailwind
colors: {
  custom: {
    50: '#798bd1',
    500: '#295ebc',
    950: '#000000',
  },
}
SCSS
$custom: #295ebc;
$custom-light: #798bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#295ebc",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 218.367,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.1588,
    "h": 260.9
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#295EBC
secondary
#CBAC76
accent
#AB41E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #295EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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