#293F78#293F78

#293F78 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.101 H 265.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#293F78
RGBrgb(41, 63, 120)
HSLhsl(223, 49%, 32%)
HSVhsv(223, 66%, 47%)
CMYKcmyk(65.8%, 47.5%, 0%, 52.9%)
CIE-LABlab(27.80, 11.20, -35.23)
CIE-LCHlch(27.80, 36.97, 287.64°)
OKLaboklab(38.15% -0.0072 -0.1006)
OKLCHoklch(38.15% 0.101 265.9)
XYZxyz(6.0810, 5.3820, 18.4840)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F78 #786229
analogous
#296778 #293F78 #3B2978
triadic
#293F78 #78293F #3F7829
tetradic
#293F78 #782967 #786229 #29783B
square
#293F78 #782967 #786229 #29783B
split-complementary
#293F78 #783B29 #677829
monochromatic
#0A0F1D #19274A #293F78 #3957A6 #5675C5

Accessibility & contrast

On white

10.11
#293F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#293F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F78
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F78#FFFFFF#000000##FFFFFF
##293F781.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#163E77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #293f78;
/* rgb */ color: rgb(41, 63, 120);
/* oklch */ color: oklch(38.1% 0.101 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b739f',
    500: '#293f78',
    950: '#000000',
  },
}
SCSS
$custom: #293f78;
$custom-light: #6b739f;
$custom-dark: #000000;
JSON
{
  "hex": "#293f78",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 223.291,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.1009,
    "h": 265.9
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#293F78
secondary
#AA9253
accent
#B24FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #293F78

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

Preview Lab → · Contrast checker → · Palette generator →

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