#295197#295197

#295197 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.123 H 260.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#295197
RGBrgb(41, 81, 151)
HSLhsl(218, 57%, 38%)
HSVhsv(218, 73%, 59%)
CMYKcmyk(72.8%, 46.4%, 0%, 40.8%)
CIE-LABlab(35.18, 10.95, -42.52)
CIE-LCHlch(35.18, 43.91, 284.44°)
OKLaboklab(44.47% -0.0199 -0.1218)
OKLCHoklch(44.47% 0.123 260.7)
XYZxyz(9.4408, 8.5896, 30.4326)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295197 #976F29
analogous
#298897 #295197 #382997
triadic
#295197 #972951 #519729
tetradic
#295197 #972988 #976F29 #299738
square
#295197 #972988 #976F29 #299738
split-complementary
#295197 #973829 #889729
monochromatic
#0F1D37 #1C3767 #295197 #366BC7 #658ED5

Accessibility & contrast

On white

7.73
#295197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#295197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295197
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295197#FFFFFF#000000##FFFFFF
##2951971.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#174E96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295197;
/* rgb */ color: rgb(41, 81, 151);
/* oklch */ color: oklch(44.5% 0.123 260.7);
Tailwind
colors: {
  custom: {
    50: '#7181b6',
    500: '#295197',
    950: '#000000',
  },
}
SCSS
$custom: #295197;
$custom-light: #7181b6;
$custom-dark: #000000;
JSON
{
  "hex": "#295197",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 218.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.1234,
    "h": 260.7
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#295197
secondary
#BB9A61
accent
#A947E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295197

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

Preview Lab → · Contrast checker → · Palette generator →

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