#295CAF#295CAF

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

Color values

HEX#295CAF
RGBrgb(41, 92, 175)
HSLhsl(217, 62%, 42%)
HSVhsv(217, 77%, 69%)
CMYKcmyk(76.6%, 47.4%, 0%, 31.4%)
CIE-LABlab(39.95, 12.96, -49.19)
CIE-LCHlch(39.95, 50.87, 284.76°)
OKLaboklab(48.64% -0.0256 -0.1412)
OKLCHoklch(48.64% 0.143 259.7)
XYZxyz(12.4767, 11.2194, 42.0571)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295CAF #AF7C29
analogous
#299FAF #295CAF #3929AF
triadic
#295CAF #AF295C #5CAF29
tetradic
#295CAF #AF299F #AF7C29 #29AF39
square
#295CAF #AF299F #AF7C29 #29AF39
split-complementary
#295CAF #AF3929 #9FAF29
monochromatic
#12284C #1D427D #295CAF #4279D3 #749CDE

Accessibility & contrast

On white

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

On black

3.24
#295CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##295CAF#FFFFFF#000000##FFFFFF
##295CAF1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #295caf;
/* rgb */ color: rgb(41, 92, 175);
/* oklch */ color: oklch(48.6% 0.143 259.7);
Tailwind
colors: {
  custom: {
    50: '#7689c7',
    500: '#295caf',
    950: '#000000',
  },
}
SCSS
$custom: #295caf;
$custom-light: #7689c7;
$custom-dark: #000000;
JSON
{
  "hex": "#295caf",
  "rgb": {
    "r": 41,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 217.164,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.14349,
    "h": 259.7
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#295CAF
secondary
#C6A46E
accent
#A743E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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