#295699#295699

#295699 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.120 H 258.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#295699
RGBrgb(41, 86, 153)
HSLhsl(216, 58%, 38%)
HSVhsv(216, 73%, 60%)
CMYKcmyk(73.2%, 43.8%, 0%, 40%)
CIE-LABlab(36.79, 8.41, -41.15)
CIE-LCHlch(36.79, 42.00, 281.56°)
OKLaboklab(45.76% -0.0243 -0.1177)
OKLCHoklch(45.76% 0.12 258.3)
XYZxyz(9.9899, 9.4258, 31.4237)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295699 #996C29
analogous
#298E99 #295699 #342999
triadic
#295699 #992956 #569929
tetradic
#295699 #99298E #996C29 #299934
square
#295699 #99298E #996C29 #299934
split-complementary
#295699 #993429 #8E9929
monochromatic
#0F2038 #1C3B69 #295699 #3671C9 #6693D6

Accessibility & contrast

On white

7.28
#295699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#295699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295699
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295699#FFFFFF#000000##FFFFFF
##2956991.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #295699;
/* rgb */ color: rgb(41, 86, 153);
/* oklch */ color: oklch(45.8% 0.120 258.3);
Tailwind
colors: {
  custom: {
    50: '#7285b7',
    500: '#295699',
    950: '#000000',
  },
}
SCSS
$custom: #295699;
$custom-light: #7285b7;
$custom-dark: #000000;
JSON
{
  "hex": "#295699",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 215.893,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45755,
    "c": 0.12014,
    "h": 258.3
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#295699
secondary
#BC9862
accent
#A347E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #295699

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

Preview Lab → · Contrast checker → · Palette generator →

#295699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva