#293379#293379

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

Color values

HEX#293379
RGBrgb(41, 51, 121)
HSLhsl(233, 49%, 32%)
HSVhsv(233, 66%, 47%)
CMYKcmyk(66.1%, 57.9%, 0%, 52.5%)
CIE-LABlab(24.38, 19.89, -41.36)
CIE-LCHlch(24.38, 45.90, 295.69°)
OKLaboklab(35.58% 0.0056 -0.1188)
OKLCHoklch(35.58% 0.119 272.7)
XYZxyz(5.5483, 4.2191, 18.6074)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293379 #796F29
analogous
#295B79 #293379 #472979
triadic
#293379 #792933 #337929
tetradic
#293379 #79295B #796F29 #297947
square
#293379 #79295B #796F29 #297947
split-complementary
#293379 #794729 #5B7929
monochromatic
#0A0C1E #1A204B #293379 #3846A7 #5664C6

Accessibility & contrast

On white

11.39
#293379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293379
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293379#FFFFFF#000000##FFFFFF
##2933791.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #293379;
/* rgb */ color: rgb(41, 51, 121);
/* oklch */ color: oklch(35.6% 0.119 272.7);
Tailwind
colors: {
  custom: {
    50: '#6c6aa0',
    500: '#293379',
    950: '#000000',
  },
}
SCSS
$custom: #293379;
$custom-light: #6c6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#293379",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 232.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35584,
    "c": 0.11898,
    "h": 272.7
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#293379
secondary
#ABA053
accent
#C84FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #293379

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

Preview Lab → · Contrast checker → · Palette generator →

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