#293191#293191

#293191 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.156 H 272.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#293191
RGBrgb(41, 49, 145)
HSLhsl(235, 56%, 36%)
HSVhsv(235, 72%, 57%)
CMYKcmyk(71.7%, 66.2%, 0%, 43.1%)
CIE-LABlab(25.90, 30.20, -53.90)
CIE-LCHlch(25.90, 61.79, 299.26°)
OKLaboklab(37.34% 0.0068 -0.1557)
OKLCHoklch(37.34% 0.156 272.5)
XYZxyz(7.1219, 4.7117, 27.3167)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293191 #918929
analogous
#296591 #293191 #552991
triadic
#293191 #912931 #319129
tetradic
#293191 #912965 #918929 #299155
square
#293191 #912965 #918929 #299155
split-complementary
#293191 #915529 #659129
monochromatic
#0E1132 #1C2161 #293191 #3641C1 #626BD3

Accessibility & contrast

On white

10.81
#293191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#293191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293191
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293191#FFFFFF#000000##FFFFFF
##2931911.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #293191;
/* rgb */ color: rgb(41, 49, 145);
/* oklch */ color: oklch(37.3% 0.156 272.5);
Tailwind
colors: {
  custom: {
    50: '#7269b2',
    500: '#293191',
    950: '#000000',
  },
}
SCSS
$custom: #293191;
$custom-light: #7269b2;
$custom-dark: #000000;
JSON
{
  "hex": "#293191",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 235.385,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3734,
    "c": 0.15585,
    "h": 272.5
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#293191
secondary
#B8B15D
accent
#D449DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293191

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

Preview Lab → · Contrast checker → · Palette generator →

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