#293B7E#293B7E

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

Color values

HEX#293B7E
RGBrgb(41, 59, 126)
HSLhsl(227, 51%, 33%)
HSVhsv(227, 67%, 49%)
CMYKcmyk(67.5%, 53.2%, 0%, 50.6%)
CIE-LABlab(27.03, 16.25, -40.23)
CIE-LCHlch(27.03, 43.39, 292.00°)
OKLaboklab(37.7% -0.0021 -0.1154)
OKLCHoklch(37.7% 0.115 269)
XYZxyz(6.2430, 5.1051, 20.3910)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293B7E #7E6C29
analogous
#29657E #293B7E #41297E
triadic
#293B7E #7E293B #3B7E29
tetradic
#293B7E #7E2965 #7E6C29 #297E41
square
#293B7E #7E2965 #7E6C29 #297E41
split-complementary
#293B7E #7E4129 #657E29
monochromatic
#0B1022 #1A2550 #293B7E #3851AC #5970C9

Accessibility & contrast

On white

10.39
#293B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#293B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293B7E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293B7E#FFFFFF#000000##FFFFFF
##293B7E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134480
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293b7e;
/* rgb */ color: rgb(41, 59, 126);
/* oklch */ color: oklch(37.7% 0.115 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d70a4',
    500: '#293b7e',
    950: '#000000',
  },
}
SCSS
$custom: #293b7e;
$custom-light: #6d70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#293b7e",
  "rgb": {
    "r": 41,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 227.294,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37698,
    "c": 0.11543,
    "h": 269
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#293B7E
secondary
#AE9B55
accent
#BD4DDA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #293B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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