#293D79#293D79

#293D79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.105 H 267.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#293D79
RGBrgb(41, 61, 121)
HSLhsl(225, 49%, 32%)
HSVhsv(225, 66%, 47%)
CMYKcmyk(66.1%, 49.6%, 0%, 52.5%)
CIE-LABlab(27.27, 12.96, -36.71)
CIE-LCHlch(27.27, 38.93, 289.45°)
OKLaboklab(37.76% -0.0048 -0.105)
OKLCHoklch(37.76% 0.105 267.4)
XYZxyz(6.0332, 5.1888, 18.7691)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D79 #796529
analogous
#296579 #293D79 #3D2979
triadic
#293D79 #79293D #3D7929
tetradic
#293D79 #792965 #796529 #29793D
square
#293D79 #792965 #796529 #29793D
split-complementary
#293D79 #793D29 #657929
monochromatic
#0A0F1E #1A264B #293D79 #3854A7 #5672C6

Accessibility & contrast

On white

10.31
#293D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#293D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D79
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D79#FFFFFF#000000##FFFFFF
##293D791.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#0F3D78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293d79;
/* rgb */ color: rgb(41, 61, 121);
/* oklch */ color: oklch(37.8% 0.105 267.4);
Tailwind
colors: {
  custom: {
    50: '#6c72a0',
    500: '#293d79',
    950: '#000000',
  },
}
SCSS
$custom: #293d79;
$custom-light: #6c72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#293d79",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 225,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.10513,
    "h": 267.4
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#293D79
secondary
#AB9553
accent
#B64FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #293D79

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

Preview Lab → · Contrast checker → · Palette generator →

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