#293D7E#293D7E

#293D7E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.113 H 267.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#293D7E
RGBrgb(41, 61, 126)
HSLhsl(226, 51%, 33%)
HSVhsv(226, 67%, 49%)
CMYKcmyk(67.5%, 51.6%, 0%, 50.6%)
CIE-LABlab(27.61, 14.87, -39.30)
CIE-LCHlch(27.61, 42.02, 290.73°)
OKLaboklab(38.14% -0.0042 -0.1126)
OKLCHoklch(38.14% 0.113 267.9)
XYZxyz(6.3478, 5.3147, 20.4259)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D7E #7E6A29
analogous
#29687E #293D7E #3F297E
triadic
#293D7E #7E293D #3D7E29
tetradic
#293D7E #7E2968 #7E6A29 #297E3F
square
#293D7E #7E2968 #7E6A29 #297E3F
split-complementary
#293D7E #7E3F29 #687E29
monochromatic
#0B1022 #1A2750 #293D7E #3853AC #5973C9

Accessibility & contrast

On white

10.18
#293D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#293D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D7E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D7E#FFFFFF#000000##FFFFFF
##293D7E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#023E7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #293d7e;
/* rgb */ color: rgb(41, 61, 126);
/* oklch */ color: oklch(38.1% 0.113 267.9);
Tailwind
colors: {
  custom: {
    50: '#6d72a4',
    500: '#293d7e',
    950: '#000000',
  },
}
SCSS
$custom: #293d7e;
$custom-light: #6d72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#293d7e",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 225.882,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.11271,
    "h": 267.9
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#293D7E
secondary
#AE9955
accent
#B94DDA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #293D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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