#295DBC#295DBC

#295DBC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.160 H 261.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#295DBC
RGBrgb(41, 93, 188)
HSLhsl(219, 64%, 45%)
HSVhsv(219, 78%, 74%)
CMYKcmyk(78.2%, 50.5%, 0%, 26.3%)
CIE-LABlab(41.10, 17.31, -54.95)
CIE-LCHlch(41.10, 57.61, 287.48°)
OKLaboklab(49.81% -0.0244 -0.1581)
OKLCHoklch(49.81% 0.16 261.2)
XYZxyz(13.9026, 11.9293, 49.1371)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295DBC #BC8829
analogous
#29A6BC #295DBC #3F29BC
triadic
#295DBC #BC295D #5DBC29
tetradic
#295DBC #BC29A6 #BC8829 #29BC3F
square
#295DBC #BC29A6 #BC8829 #29BC3F
split-complementary
#295DBC #BC3F29 #A6BC29
monochromatic
#132B58 #1E448A #295DBC #4B7CD8 #7DA1E3

Accessibility & contrast

On white

6.20
#295DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#295DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295DBC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295DBC#FFFFFF#000000##FFFFFF
##295DBC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295dbc;
/* rgb */ color: rgb(41, 93, 188);
/* oklch */ color: oklch(49.8% 0.160 261.2);
Tailwind
colors: {
  custom: {
    50: '#798ad1',
    500: '#295dbc',
    950: '#000000',
  },
}
SCSS
$custom: #295dbc;
$custom-light: #798ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#295dbc",
  "rgb": {
    "r": 41,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 218.776,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.16001,
    "h": 261.2
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#295DBC
secondary
#CBAD76
accent
#AC41E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #295DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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