#295CAB#295CAB

#295CAB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.4% C 0.138 H 259.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#295CAB
RGBrgb(41, 92, 171)
HSLhsl(216, 61%, 42%)
HSVhsv(216, 76%, 67%)
CMYKcmyk(76%, 46.2%, 0%, 32.9%)
CIE-LABlab(39.69, 11.42, -47.25)
CIE-LCHlch(39.69, 48.61, 283.58°)
OKLaboklab(48.36% -0.0262 -0.1355)
OKLCHoklch(48.36% 0.138 259)
XYZxyz(12.0896, 11.0646, 40.0187)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295CAB #AB7829
analogous
#299DAB #295CAB #3729AB
triadic
#295CAB #AB295C #5CAB29
tetradic
#295CAB #AB299D #AB7829 #29AB37
square
#295CAB #AB299D #AB7829 #29AB37
split-complementary
#295CAB #AB3729 #9DAB29
monochromatic
#112748 #1D417A #295CAB #4079D1 #719CDD

Accessibility & contrast

On white

6.54
#295CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#295CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295CAB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295CAB#FFFFFF#000000##FFFFFF
##295CAB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#1558A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #295cab;
/* rgb */ color: rgb(41, 92, 171);
/* oklch */ color: oklch(48.4% 0.138 259.0);
Tailwind
colors: {
  custom: {
    50: '#7589c4',
    500: '#295cab',
    950: '#000000',
  },
}
SCSS
$custom: #295cab;
$custom-light: #7589c4;
$custom-dark: #000000;
JSON
{
  "hex": "#295cab",
  "rgb": {
    "r": 41,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 216.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.138,
    "h": 259
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#295CAB
secondary
#C4A16C
accent
#A543E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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