#295190#295190

#295190 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.113 H 259.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#295190
RGBrgb(41, 81, 144)
HSLhsl(217, 56%, 36%)
HSVhsv(217, 72%, 56%)
CMYKcmyk(71.5%, 43.8%, 0%, 43.5%)
CIE-LABlab(34.74, 8.25, -38.98)
CIE-LCHlch(34.74, 39.84, 281.95°)
OKLaboklab(43.99% -0.0213 -0.1114)
OKLCHoklch(43.99% 0.113 259.2)
XYZxyz(8.8891, 8.3690, 27.5271)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295190 #906829
analogous
#298590 #295190 #352990
triadic
#295190 #902951 #519029
tetradic
#295190 #902985 #906829 #299035
square
#295190 #902985 #906829 #299035
split-complementary
#295190 #903529 #859029
monochromatic
#0E1B31 #1B3660 #295190 #376CC0 #618DD2

Accessibility & contrast

On white

7.85
#295190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#295190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295190
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295190#FFFFFF#000000##FFFFFF
##2951901.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335792
Deuteranopia (green-blind)
#214D8F
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295190;
/* rgb */ color: rgb(41, 81, 144);
/* oklch */ color: oklch(44.0% 0.113 259.2);
Tailwind
colors: {
  custom: {
    50: '#7081b1',
    500: '#295190',
    950: '#000000',
  },
}
SCSS
$custom: #295190;
$custom-light: #7081b1;
$custom-dark: #000000;
JSON
{
  "hex": "#295190",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 144
  },
  "hsl": {
    "h": 216.699,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.11339,
    "h": 259.2
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#295190
secondary
#B8955D
accent
#A549DF
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #295190

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

Preview Lab → · Contrast checker → · Palette generator →

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