#293299#293299

#293299 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.165 H 271.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#293299
RGBrgb(41, 50, 153)
HSLhsl(235, 58%, 38%)
HSVhsv(235, 73%, 60%)
CMYKcmyk(73.2%, 67.3%, 0%, 40%)
CIE-LABlab(26.88, 32.47, -57.21)
CIE-LCHlch(26.88, 65.78, 299.58°)
OKLaboklab(38.29% 0.0055 -0.1654)
OKLCHoklch(38.29% 0.165 271.9)
XYZxyz(7.8029, 5.0517, 30.6947)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293299 #999029
analogous
#296A99 #293299 #582999
triadic
#293299 #992932 #329929
tetradic
#293299 #99296A #999029 #299958
square
#293299 #99296A #999029 #299958
split-complementary
#293299 #995829 #6A9929
monochromatic
#0F1238 #1C2269 #293299 #3642C9 #666FD6

Accessibility & contrast

On white

10.44
#293299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#293299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293299
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293299#FFFFFF#000000##FFFFFF
##2932991.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293299;
/* rgb */ color: rgb(41, 50, 153);
/* oklch */ color: oklch(38.3% 0.165 271.9);
Tailwind
colors: {
  custom: {
    50: '#746ab8',
    500: '#293299',
    950: '#000000',
  },
}
SCSS
$custom: #293299;
$custom-light: #746ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#293299",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 235.179,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.16545,
    "h": 271.9
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#293299
secondary
#BCB562
accent
#D547E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293299

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

Preview Lab → · Contrast checker → · Palette generator →

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