#295FBA#295FBA

#295FBA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.155 H 260.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#295FBA
RGBrgb(41, 95, 186)
HSLhsl(218, 64%, 45%)
HSVhsv(218, 78%, 73%)
CMYKcmyk(78%, 48.9%, 0%, 27.1%)
CIE-LABlab(41.53, 15.24, -53.10)
CIE-LCHlch(41.53, 55.24, 286.01°)
OKLaboklab(50.09% -0.0263 -0.1526)
OKLCHoklch(50.09% 0.155 260.2)
XYZxyz(13.8664, 12.1994, 48.0688)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FBA #BA8429
analogous
#29A8BA #295FBA #3B29BA
triadic
#295FBA #BA295F #5FBA29
tetradic
#295FBA #BA29A8 #BA8429 #29BA3B
square
#295FBA #BA29A8 #BA8429 #29BA3B
split-complementary
#295FBA #BA3B29 #A8BA29
monochromatic
#132C56 #1E4588 #295FBA #497ED7 #7BA2E2

Accessibility & contrast

On white

6.10
#295FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#295FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295FBA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FBA#FFFFFF#000000##FFFFFF
##295FBA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #295fba;
/* rgb */ color: rgb(41, 95, 186);
/* oklch */ color: oklch(50.1% 0.155 260.2);
Tailwind
colors: {
  custom: {
    50: '#798bcf',
    500: '#295fba',
    950: '#000000',
  },
}
SCSS
$custom: #295fba;
$custom-light: #798bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#295fba",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 217.655,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.15488,
    "h": 260.2
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#295FBA
secondary
#CAAA75
accent
#A941E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #295FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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