#295296#295296

#295296 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.121 H 260.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#295296
RGBrgb(41, 82, 150)
HSLhsl(217, 57%, 37%)
HSVhsv(217, 73%, 59%)
CMYKcmyk(72.7%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.41, 9.90, -41.54)
CIE-LCHlch(35.41, 42.71, 283.40°)
OKLaboklab(44.63% -0.0211 -0.1189)
OKLCHoklch(44.63% 0.121 260)
XYZxyz(9.4348, 8.7070, 30.0316)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295296 #966D29
analogous
#298996 #295296 #362996
triadic
#295296 #962952 #529629
tetradic
#295296 #962989 #966D29 #299636
square
#295296 #962989 #966D29 #299636
split-complementary
#295296 #963629 #899629
monochromatic
#0F1D36 #1C3866 #295296 #366CC6 #658FD5

Accessibility & contrast

On white

7.66
#295296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#295296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295296
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295296#FFFFFF#000000##FFFFFF
##2952961.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305999
Deuteranopia (green-blind)
#1B4F95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295296;
/* rgb */ color: rgb(41, 82, 150);
/* oklch */ color: oklch(44.6% 0.121 260.0);
Tailwind
colors: {
  custom: {
    50: '#7182b5',
    500: '#295296',
    950: '#000000',
  },
}
SCSS
$custom: #295296;
$custom-light: #7182b5;
$custom-dark: #000000;
JSON
{
  "hex": "#295296",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 217.431,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.12074,
    "h": 260
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #295296

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

Preview Lab → · Contrast checker → · Palette generator →

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