#295096#295096

#295096 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.123 H 261.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#295096
RGBrgb(41, 80, 150)
HSLhsl(219, 57%, 37%)
HSVhsv(219, 73%, 59%)
CMYKcmyk(72.7%, 46.7%, 0%, 41.2%)
CIE-LABlab(34.82, 11.23, -42.49)
CIE-LCHlch(34.82, 43.95, 284.80°)
OKLaboklab(44.17% -0.0192 -0.1217)
OKLCHoklch(44.17% 0.123 261.1)
XYZxyz(9.2862, 8.4098, 29.9821)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295096 #966F29
analogous
#298796 #295096 #382996
triadic
#295096 #962950 #509629
tetradic
#295096 #962987 #966F29 #299638
square
#295096 #962987 #966F29 #299638
split-complementary
#295096 #963829 #879629
monochromatic
#0F1D36 #1C3666 #295096 #366AC6 #658DD5

Accessibility & contrast

On white

7.83
#295096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#295096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295096
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295096#FFFFFF#000000##FFFFFF
##2950961.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#154D95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295096;
/* rgb */ color: rgb(41, 80, 150);
/* oklch */ color: oklch(44.2% 0.123 261.1);
Tailwind
colors: {
  custom: {
    50: '#7180b5',
    500: '#295096',
    950: '#000000',
  },
}
SCSS
$custom: #295096;
$custom-light: #7180b5;
$custom-dark: #000000;
JSON
{
  "hex": "#295096",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 218.532,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.12321,
    "h": 261.1
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#295096
secondary
#BB9A60
accent
#AA47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295096

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

Preview Lab → · Contrast checker → · Palette generator →

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