#295497#295497

#295497 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.120 H 259.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#295497
RGBrgb(41, 84, 151)
HSLhsl(217, 57%, 38%)
HSVhsv(217, 73%, 59%)
CMYKcmyk(72.8%, 44.4%, 0%, 40.8%)
CIE-LABlab(36.07, 8.96, -41.09)
CIE-LCHlch(36.07, 42.06, 282.30°)
OKLaboklab(45.16% -0.0228 -0.1175)
OKLCHoklch(45.16% 0.12 259)
XYZxyz(9.6687, 9.0454, 30.5085)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295497 #976C29
analogous
#298B97 #295497 #352997
triadic
#295497 #972954 #549729
tetradic
#295497 #97298B #976C29 #299735
square
#295497 #97298B #976C29 #299735
split-complementary
#295497 #973529 #8B9729
monochromatic
#0F1E37 #1C3967 #295497 #366FC7 #6591D5

Accessibility & contrast

On white

7.48
#295497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#295497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295497
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295497#FFFFFF#000000##FFFFFF
##2954971.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #295497;
/* rgb */ color: rgb(41, 84, 151);
/* oklch */ color: oklch(45.2% 0.120 259.0);
Tailwind
colors: {
  custom: {
    50: '#7183b6',
    500: '#295497',
    950: '#000000',
  },
}
SCSS
$custom: #295497;
$custom-light: #7183b6;
$custom-dark: #000000;
JSON
{
  "hex": "#295497",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 216.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45158,
    "c": 0.11972,
    "h": 259
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#295497
secondary
#BB9861
accent
#A547E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295497

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

Preview Lab → · Contrast checker → · Palette generator →

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