#295EBA#295EBA

#295EBA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.156 H 260.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#295EBA
RGBrgb(41, 94, 186)
HSLhsl(218, 64%, 45%)
HSVhsv(218, 78%, 73%)
CMYKcmyk(78%, 49.5%, 0%, 27.1%)
CIE-LABlab(41.25, 15.89, -53.55)
CIE-LCHlch(41.25, 55.86, 286.52°)
OKLaboklab(49.87% -0.0255 -0.154)
OKLCHoklch(49.87% 0.156 260.6)
XYZxyz(13.7769, 12.0204, 48.0389)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295EBA #BA8529
analogous
#29A7BA #295EBA #3D29BA
triadic
#295EBA #BA295E #5EBA29
tetradic
#295EBA #BA29A7 #BA8529 #29BA3D
square
#295EBA #BA29A7 #BA8529 #29BA3D
split-complementary
#295EBA #BA3D29 #A7BA29
monochromatic
#132B56 #1E4588 #295EBA #497DD7 #7BA1E2

Accessibility & contrast

On white

6.17
#295EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#295EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295EBA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295EBA#FFFFFF#000000##FFFFFF
##295EBA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2768BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295eba;
/* rgb */ color: rgb(41, 94, 186);
/* oklch */ color: oklch(49.9% 0.156 260.6);
Tailwind
colors: {
  custom: {
    50: '#798bcf',
    500: '#295eba',
    950: '#000000',
  },
}
SCSS
$custom: #295eba;
$custom-light: #798bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#295eba",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 218.069,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.15609,
    "h": 260.6
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#295EBA
secondary
#CAAB75
accent
#AA41E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #295EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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