#293A78#293A78

#293A78 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.108 H 269.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#293A78
RGBrgb(41, 58, 120)
HSLhsl(227, 49%, 32%)
HSVhsv(227, 66%, 47%)
CMYKcmyk(65.8%, 51.7%, 0%, 52.9%)
CIE-LABlab(26.31, 14.66, -37.61)
CIE-LCHlch(26.31, 40.37, 291.29°)
OKLaboklab(37.02% -0.0017 -0.1077)
OKLCHoklch(37.02% 0.108 269.1)
XYZxyz(5.8165, 4.8531, 18.3959)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A78 #786729
analogous
#296278 #293A78 #402978
triadic
#293A78 #78293A #3A7829
tetradic
#293A78 #782962 #786729 #297840
square
#293A78 #782962 #786729 #297840
split-complementary
#293A78 #784029 #627829
monochromatic
#0A0E1D #19244A #293A78 #3950A6 #566EC5

Accessibility & contrast

On white

10.66
#293A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#293A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293A78
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A78#FFFFFF#000000##FFFFFF
##293A781.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #293a78;
/* rgb */ color: rgb(41, 58, 120);
/* oklch */ color: oklch(37.0% 0.108 269.1);
Tailwind
colors: {
  custom: {
    50: '#6c6f9f',
    500: '#293a78',
    950: '#000000',
  },
}
SCSS
$custom: #293a78;
$custom-light: #6c6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#293a78",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 227.089,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37015,
    "c": 0.10773,
    "h": 269.1
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#293A78
secondary
#AA9753
accent
#BB4FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #293A78

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

Preview Lab → · Contrast checker → · Palette generator →

#293A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva