#295196#295196

#295196 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.122 H 260.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#295196
RGBrgb(41, 81, 150)
HSLhsl(218, 57%, 37%)
HSVhsv(218, 73%, 59%)
CMYKcmyk(72.7%, 46%, 0%, 41.2%)
CIE-LABlab(35.12, 10.56, -42.02)
CIE-LCHlch(35.12, 43.32, 284.11°)
OKLaboklab(44.4% -0.0201 -0.1203)
OKLCHoklch(44.4% 0.122 260.5)
XYZxyz(9.3599, 8.5573, 30.0067)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295196 #966E29
analogous
#298796 #295196 #382996
triadic
#295196 #962951 #519629
tetradic
#295196 #962987 #966E29 #299638
square
#295196 #962987 #966E29 #299638
split-complementary
#295196 #963829 #879629
monochromatic
#0F1D36 #1C3766 #295196 #366BC6 #658ED5

Accessibility & contrast

On white

7.74
#295196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#295196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295196
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295196#FFFFFF#000000##FFFFFF
##2951961.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5899
Deuteranopia (green-blind)
#194E95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295196;
/* rgb */ color: rgb(41, 81, 150);
/* oklch */ color: oklch(44.4% 0.122 260.5);
Tailwind
colors: {
  custom: {
    50: '#7181b5',
    500: '#295196',
    950: '#000000',
  },
}
SCSS
$custom: #295196;
$custom-light: #7181b5;
$custom-dark: #000000;
JSON
{
  "hex": "#295196",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 217.982,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.12197,
    "h": 260.5
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#295196
secondary
#BB9960
accent
#A847E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295196

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

Preview Lab → · Contrast checker → · Palette generator →

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