#295597#295597

#295597 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.119 H 258.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#295597
RGBrgb(41, 85, 151)
HSLhsl(216, 57%, 38%)
HSVhsv(216, 73%, 59%)
CMYKcmyk(72.8%, 43.7%, 0%, 40.8%)
CIE-LABlab(36.37, 8.30, -40.62)
CIE-LCHlch(36.37, 41.46, 281.55°)
OKLaboklab(45.39% -0.0237 -0.1161)
OKLCHoklch(45.39% 0.119 258.4)
XYZxyz(9.7468, 9.2017, 30.5346)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295597 #976B29
analogous
#298C97 #295597 #342997
triadic
#295597 #972955 #559729
tetradic
#295597 #97298C #976B29 #299734
square
#295597 #97298C #976B29 #299734
split-complementary
#295597 #973429 #8C9729
monochromatic
#0F1F37 #1C3A67 #295597 #3670C7 #6592D5

Accessibility & contrast

On white

7.39
#295597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#295597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295597
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295597#FFFFFF#000000##FFFFFF
##2955971.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#225196
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #295597;
/* rgb */ color: rgb(41, 85, 151);
/* oklch */ color: oklch(45.4% 0.119 258.4);
Tailwind
colors: {
  custom: {
    50: '#7184b6',
    500: '#295597',
    950: '#000000',
  },
}
SCSS
$custom: #295597;
$custom-light: #7184b6;
$custom-dark: #000000;
JSON
{
  "hex": "#295597",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 216,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.11851,
    "h": 258.4
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#295597
secondary
#BB9761
accent
#A347E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295597

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

Preview Lab → · Contrast checker → · Palette generator →

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