#293398#293398

#293398 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.163 H 271.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#293398
RGBrgb(41, 51, 152)
HSLhsl(235, 58%, 38%)
HSVhsv(235, 73%, 60%)
CMYKcmyk(73%, 66.4%, 0%, 40.4%)
CIE-LABlab(27.03, 31.46, -56.35)
CIE-LCHlch(27.03, 64.53, 299.18°)
OKLaboklab(38.37% 0.0049 -0.1628)
OKLCHoklch(38.37% 0.163 271.7)
XYZxyz(7.7639, 5.1053, 30.2759)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293398 #988E29
analogous
#296A98 #293398 #572998
triadic
#293398 #982933 #339829
tetradic
#293398 #98296A #988E29 #299857
square
#293398 #98296A #988E29 #299857
split-complementary
#293398 #985729 #6A9829
monochromatic
#0F1338 #1C2368 #293398 #3643C8 #6670D6

Accessibility & contrast

On white

10.39
#293398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#293398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293398
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293398#FFFFFF#000000##FFFFFF
##2933981.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293398;
/* rgb */ color: rgb(41, 51, 152);
/* oklch */ color: oklch(38.4% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#736bb7',
    500: '#293398',
    950: '#000000',
  },
}
SCSS
$custom: #293398;
$custom-light: #736bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#293398",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 234.595,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38367,
    "c": 0.16291,
    "h": 271.7
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#293398
secondary
#BCB461
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293398

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

Preview Lab → · Contrast checker → · Palette generator →

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