#295FAB#295FAB

#295FAB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.0% C 0.134 H 257.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#295FAB
RGBrgb(41, 95, 171)
HSLhsl(215, 61%, 42%)
HSVhsv(215, 76%, 67%)
CMYKcmyk(76%, 44.4%, 0%, 32.9%)
CIE-LABlab(40.56, 9.47, -45.84)
CIE-LCHlch(40.56, 46.81, 281.67°)
OKLaboklab(49.03% -0.0289 -0.1313)
OKLCHoklch(49.03% 0.134 257.6)
XYZxyz(12.3547, 11.5947, 40.1071)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FAB #AB7529
analogous
#29A0AB #295FAB #3429AB
triadic
#295FAB #AB295F #5FAB29
tetradic
#295FAB #AB29A0 #AB7529 #29AB34
square
#295FAB #AB29A0 #AB7529 #29AB34
split-complementary
#295FAB #AB3429 #A0AB29
monochromatic
#112848 #1D447A #295FAB #407CD1 #719EDD

Accessibility & contrast

On white

6.33
#295FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#295FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295FAB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FAB#FFFFFF#000000##FFFFFF
##295FAB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AE
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #295fab;
/* rgb */ color: rgb(41, 95, 171);
/* oklch */ color: oklch(49.0% 0.134 257.6);
Tailwind
colors: {
  custom: {
    50: '#758bc4',
    500: '#295fab',
    950: '#000000',
  },
}
SCSS
$custom: #295fab;
$custom-light: #758bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#295fab",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 215.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.13443,
    "h": 257.6
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#295FAB
secondary
#C49F6C
accent
#A243E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #295FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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