#295087#295087

#295087 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.102 H 257.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#295087
RGBrgb(41, 80, 135)
HSLhsl(215, 53%, 35%)
HSVhsv(215, 70%, 53%)
CMYKcmyk(69.6%, 40.7%, 0%, 47.1%)
CIE-LABlab(33.89, 5.47, -34.83)
CIE-LCHlch(33.89, 35.25, 278.92°)
OKLaboklab(43.16% -0.0223 -0.0992)
OKLCHoklch(43.16% 0.102 257.3)
XYZxyz(8.1547, 7.9572, 24.0231)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295087 #876029
analogous
#297F87 #295087 #312987
triadic
#295087 #872950 #508729
tetradic
#295087 #87297F #876029 #298731
square
#295087 #87297F #876029 #298731
split-complementary
#295087 #873129 #7F8729
monochromatic
#0C1829 #1B3458 #295087 #376CB6 #5D8CCE

Accessibility & contrast

On white

8.10
#295087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#295087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295087
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295087#FFFFFF#000000##FFFFFF
##2950871.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#294C86
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #295087;
/* rgb */ color: rgb(41, 80, 135);
/* oklch */ color: oklch(43.2% 0.102 257.3);
Tailwind
colors: {
  custom: {
    50: '#6e80aa',
    500: '#295087',
    950: '#000000',
  },
}
SCSS
$custom: #295087;
$custom-light: #6e80aa;
$custom-dark: #000000;
JSON
{
  "hex": "#295087",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 215.106,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43155,
    "c": 0.10168,
    "h": 257.3
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#295087
secondary
#B38E59
accent
#A04BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #295087

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

Preview Lab → · Contrast checker → · Palette generator →

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