#295DAB#295DAB

#295DAB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.137 H 258.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#295DAB
RGBrgb(41, 93, 171)
HSLhsl(216, 61%, 42%)
HSVhsv(216, 76%, 67%)
CMYKcmyk(76%, 45.6%, 0%, 32.9%)
CIE-LABlab(39.98, 10.77, -46.78)
CIE-LCHlch(39.98, 48.00, 282.96°)
OKLaboklab(48.58% -0.0271 -0.1341)
OKLCHoklch(48.58% 0.137 258.6)
XYZxyz(12.1768, 11.2390, 40.0478)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295DAB #AB7729
analogous
#299EAB #295DAB #3629AB
triadic
#295DAB #AB295D #5DAB29
tetradic
#295DAB #AB299E #AB7729 #29AB36
square
#295DAB #AB299E #AB7729 #29AB36
split-complementary
#295DAB #AB3629 #9EAB29
monochromatic
#112748 #1D427A #295DAB #407AD1 #719CDD

Accessibility & contrast

On white

6.47
#295DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#295DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295DAB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295DAB#FFFFFF#000000##FFFFFF
##295DAB1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AE
Deuteranopia (green-blind)
#1959A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #295dab;
/* rgb */ color: rgb(41, 93, 171);
/* oklch */ color: oklch(48.6% 0.137 258.6);
Tailwind
colors: {
  custom: {
    50: '#758ac4',
    500: '#295dab',
    950: '#000000',
  },
}
SCSS
$custom: #295dab;
$custom-light: #758ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#295dab",
  "rgb": {
    "r": 41,
    "g": 93,
    "b": 171
  },
  "hsl": {
    "h": 216,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48582,
    "c": 0.1368,
    "h": 258.6
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #295DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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