#293B7F#293B7F

#293B7F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.8% C 0.117 H 269.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#293B7F
RGBrgb(41, 59, 127)
HSLhsl(227, 51%, 33%)
HSVhsv(227, 68%, 50%)
CMYKcmyk(67.7%, 53.5%, 0%, 50.2%)
CIE-LABlab(27.11, 16.64, -40.74)
CIE-LCHlch(27.11, 44.01, 292.21°)
OKLaboklab(37.78% -0.002 -0.1169)
OKLCHoklch(37.78% 0.117 269)
XYZxyz(6.3079, 5.1311, 20.7325)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293B7F #7F6D29
analogous
#29667F #293B7F #42297F
triadic
#293B7F #7F293B #3B7F29
tetradic
#293B7F #7F2966 #7F6D29 #297F42
square
#293B7F #7F2966 #7F6D29 #297F42
split-complementary
#293B7F #7F4229 #667F29
monochromatic
#0B1022 #1A2651 #293B7F #3850AD #5971C9

Accessibility & contrast

On white

10.36
#293B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#293B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293B7F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293B7F#FFFFFF#000000##FFFFFF
##293B7F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124481
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293b7f;
/* rgb */ color: rgb(41, 59, 127);
/* oklch */ color: oklch(37.8% 0.117 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d70a5',
    500: '#293b7f',
    950: '#000000',
  },
}
SCSS
$custom: #293b7f;
$custom-light: #6d70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#293b7f",
  "rgb": {
    "r": 41,
    "g": 59,
    "b": 127
  },
  "hsl": {
    "h": 227.442,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37776,
    "c": 0.11693,
    "h": 269
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#293B7F
secondary
#AF9C55
accent
#BD4DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #293B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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