#293799#293799

#293799 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.159 H 270.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#293799
RGBrgb(41, 55, 153)
HSLhsl(233, 58%, 38%)
HSVhsv(233, 73%, 60%)
CMYKcmyk(73.2%, 64.1%, 0%, 40%)
CIE-LABlab(28.12, 29.20, -55.17)
CIE-LCHlch(28.12, 62.42, 297.89°)
OKLaboklab(39.19% 0.002 -0.1594)
OKLCHoklch(39.19% 0.159 270.7)
XYZxyz(8.0285, 5.5029, 30.7699)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293799 #998B29
analogous
#296F99 #293799 #532999
triadic
#293799 #992937 #379929
tetradic
#293799 #99296F #998B29 #299953
square
#293799 #99296F #998B29 #299953
split-complementary
#293799 #995329 #6F9929
monochromatic
#0F1438 #1C2669 #293799 #3648C9 #6674D6

Accessibility & contrast

On white

10.00
#293799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#293799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293799
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293799#FFFFFF#000000##FFFFFF
##2937991.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #293799;
/* rgb */ color: rgb(41, 55, 153);
/* oklch */ color: oklch(39.2% 0.159 270.7);
Tailwind
colors: {
  custom: {
    50: '#736db8',
    500: '#293799',
    950: '#000000',
  },
}
SCSS
$custom: #293799;
$custom-light: #736db8;
$custom-dark: #000000;
JSON
{
  "hex": "#293799",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 232.5,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39194,
    "c": 0.15938,
    "h": 270.7
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#293799
secondary
#BCB162
accent
#CE47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293799

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

Preview Lab → · Contrast checker → · Palette generator →

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