#293979#293979

#293979 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.111 H 269.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#293979
RGBrgb(41, 57, 121)
HSLhsl(228, 49%, 32%)
HSVhsv(228, 66%, 47%)
CMYKcmyk(66.1%, 52.9%, 0%, 52.5%)
CIE-LABlab(26.09, 15.73, -38.60)
CIE-LCHlch(26.09, 41.68, 292.17°)
OKLaboklab(36.87% -0.0006 -0.1106)
OKLCHoklch(36.87% 0.111 269.7)
XYZxyz(5.8276, 4.7776, 18.7005)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293979 #796929
analogous
#296179 #293979 #412979
triadic
#293979 #792939 #397929
tetradic
#293979 #792961 #796929 #297941
square
#293979 #792961 #796929 #297941
split-complementary
#293979 #794129 #617929
monochromatic
#0A0E1E #1A234B #293979 #384FA7 #566DC6

Accessibility & contrast

On white

10.74
#293979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#293979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293979
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293979#FFFFFF#000000##FFFFFF
##2939791.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #293979;
/* rgb */ color: rgb(41, 57, 121);
/* oklch */ color: oklch(36.9% 0.111 269.7);
Tailwind
colors: {
  custom: {
    50: '#6c6fa0',
    500: '#293979',
    950: '#000000',
  },
}
SCSS
$custom: #293979;
$custom-light: #6c6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#293979",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 228,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.11064,
    "h": 269.7
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#293979
secondary
#AB9953
accent
#BD4FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #293979

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

Preview Lab → · Contrast checker → · Palette generator →

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