#293C7F#293C7F

#293C7F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.0% C 0.116 H 268.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#293C7F
RGBrgb(41, 60, 127)
HSLhsl(227, 51%, 33%)
HSVhsv(227, 68%, 50%)
CMYKcmyk(67.7%, 52.8%, 0%, 50.2%)
CIE-LABlab(27.39, 15.95, -40.28)
CIE-LCHlch(27.39, 43.32, 291.60°)
OKLaboklab(38% -0.003 -0.1155)
OKLCHoklch(38% 0.116 268.5)
XYZxyz(6.3598, 5.2349, 20.7498)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293C7F #7F6C29
analogous
#29677F #293C7F #41297F
triadic
#293C7F #7F293C #3C7F29
tetradic
#293C7F #7F2967 #7F6C29 #297F41
square
#293C7F #7F2967 #7F6C29 #297F41
split-complementary
#293C7F #7F4129 #677F29
monochromatic
#0B1022 #1A2651 #293C7F #3852AD #5972C9

Accessibility & contrast

On white

10.26
#293C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#293C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293C7F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293C7F#FFFFFF#000000##FFFFFF
##293C7F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154581
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #293c7f;
/* rgb */ color: rgb(41, 60, 127);
/* oklch */ color: oklch(38.0% 0.116 268.5);
Tailwind
colors: {
  custom: {
    50: '#6d71a5',
    500: '#293c7f',
    950: '#000000',
  },
}
SCSS
$custom: #293c7f;
$custom-light: #6d71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#293c7f",
  "rgb": {
    "r": 41,
    "g": 60,
    "b": 127
  },
  "hsl": {
    "h": 226.744,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37995,
    "c": 0.11557,
    "h": 268.5
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#293C7F
secondary
#AF9B55
accent
#BB4DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #293C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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