#293291#293291

#293291 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.155 H 272.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#293291
RGBrgb(41, 50, 145)
HSLhsl(235, 56%, 36%)
HSVhsv(235, 72%, 57%)
CMYKcmyk(71.7%, 65.5%, 0%, 43.1%)
CIE-LABlab(26.15, 29.54, -53.50)
CIE-LCHlch(26.15, 61.11, 298.91°)
OKLaboklab(37.52% 0.0061 -0.1545)
OKLCHoklch(37.52% 0.155 272.3)
XYZxyz(7.1642, 4.7963, 27.3308)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293291 #918829
analogous
#296691 #293291 #542991
triadic
#293291 #912932 #329129
tetradic
#293291 #912966 #918829 #299154
square
#293291 #912966 #918829 #299154
split-complementary
#293291 #915429 #669129
monochromatic
#0E1132 #1C2261 #293291 #3642C1 #626CD3

Accessibility & contrast

On white

10.72
#293291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#293291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293291
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293291#FFFFFF#000000##FFFFFF
##2932911.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #293291;
/* rgb */ color: rgb(41, 50, 145);
/* oklch */ color: oklch(37.5% 0.155 272.3);
Tailwind
colors: {
  custom: {
    50: '#726ab2',
    500: '#293291',
    950: '#000000',
  },
}
SCSS
$custom: #293291;
$custom-light: #726ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#293291",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 234.808,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37522,
    "c": 0.15461,
    "h": 272.3
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#293291
secondary
#B8B05D
accent
#D249DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293291

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

Preview Lab → · Contrast checker → · Palette generator →

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