#295FAF#295FAF

#295FAF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.3% C 0.140 H 258.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#295FAF
RGBrgb(41, 95, 175)
HSLhsl(216, 62%, 42%)
HSVhsv(216, 77%, 69%)
CMYKcmyk(76.6%, 45.7%, 0%, 31.4%)
CIE-LABlab(40.82, 11.00, -47.80)
CIE-LCHlch(40.82, 49.05, 282.97°)
OKLaboklab(49.31% -0.0281 -0.137)
OKLCHoklch(49.31% 0.14 258.4)
XYZxyz(12.7417, 11.7495, 42.1455)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FAF #AF7929
analogous
#29A2AF #295FAF #3629AF
triadic
#295FAF #AF295F #5FAF29
tetradic
#295FAF #AF29A2 #AF7929 #29AF36
square
#295FAF #AF29A2 #AF7929 #29AF36
split-complementary
#295FAF #AF3629 #A2AF29
monochromatic
#12294C #1D447D #295FAF #427DD3 #749FDE

Accessibility & contrast

On white

6.27
#295FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#295FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295FAF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FAF#FFFFFF#000000##FFFFFF
##295FAF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#185BAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #295faf;
/* rgb */ color: rgb(41, 95, 175);
/* oklch */ color: oklch(49.3% 0.140 258.4);
Tailwind
colors: {
  custom: {
    50: '#768bc7',
    500: '#295faf',
    950: '#000000',
  },
}
SCSS
$custom: #295faf;
$custom-light: #768bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#295faf",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 215.821,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.13989,
    "h": 258.4
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#295FAF
secondary
#C6A26E
accent
#A443E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #295FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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