#293378#293378

#293378 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.117 H 272.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#293378
RGBrgb(41, 51, 120)
HSLhsl(232, 49%, 32%)
HSVhsv(232, 66%, 47%)
CMYKcmyk(65.8%, 57.5%, 0%, 52.9%)
CIE-LABlab(24.30, 19.52, -40.85)
CIE-LCHlch(24.30, 45.28, 295.54°)
OKLaboklab(35.5% 0.0056 -0.1173)
OKLCHoklch(35.5% 0.117 272.7)
XYZxyz(5.4873, 4.1947, 18.2861)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293378 #786E29
analogous
#295B78 #293378 #472978
triadic
#293378 #782933 #337829
tetradic
#293378 #78295B #786E29 #297847
square
#293378 #78295B #786E29 #297847
split-complementary
#293378 #784729 #5B7829
monochromatic
#0A0C1D #19204A #293378 #3946A6 #5664C5

Accessibility & contrast

On white

11.42
#293378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#293378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293378
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293378#FFFFFF#000000##FFFFFF
##2933781.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #293378;
/* rgb */ color: rgb(41, 51, 120);
/* oklch */ color: oklch(35.5% 0.117 272.7);
Tailwind
colors: {
  custom: {
    50: '#6c6a9f',
    500: '#293378',
    950: '#000000',
  },
}
SCSS
$custom: #293378;
$custom-light: #6c6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#293378",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 232.405,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35501,
    "c": 0.11748,
    "h": 272.7
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#293378
secondary
#AA9F53
accent
#C74FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #293378

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

Preview Lab → · Contrast checker → · Palette generator →

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