#295DAF#295DAF

#295DAF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.142 H 259.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#295DAF
RGBrgb(41, 93, 175)
HSLhsl(217, 62%, 42%)
HSVhsv(217, 77%, 69%)
CMYKcmyk(76.6%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.24, 12.30, -48.73)
CIE-LCHlch(40.24, 50.26, 284.17°)
OKLaboklab(48.86% -0.0264 -0.1398)
OKLCHoklch(48.86% 0.142 259.3)
XYZxyz(12.5638, 11.3938, 42.0862)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295DAF #AF7B29
analogous
#29A0AF #295DAF #3829AF
triadic
#295DAF #AF295D #5DAF29
tetradic
#295DAF #AF29A0 #AF7B29 #29AF38
square
#295DAF #AF29A0 #AF7B29 #29AF38
split-complementary
#295DAF #AF3829 #A0AF29
monochromatic
#12284C #1D437D #295DAF #427AD3 #749DDE

Accessibility & contrast

On white

6.40
#295DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#295DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295DAF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295DAF#FFFFFF#000000##FFFFFF
##295DAF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#0F59AD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #295daf;
/* rgb */ color: rgb(41, 93, 175);
/* oklch */ color: oklch(48.9% 0.142 259.3);
Tailwind
colors: {
  custom: {
    50: '#768ac7',
    500: '#295daf',
    950: '#000000',
  },
}
SCSS
$custom: #295daf;
$custom-light: #768ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#295daf",
  "rgb": {
    "r": 41,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 216.716,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48862,
    "c": 0.14229,
    "h": 259.3
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #295DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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