#293A7F#293A7F

#293A7F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.118 H 269.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#293A7F
RGBrgb(41, 58, 127)
HSLhsl(228, 51%, 33%)
HSVhsv(228, 68%, 50%)
CMYKcmyk(67.7%, 54.3%, 0%, 50.2%)
CIE-LABlab(26.82, 17.33, -41.21)
CIE-LCHlch(26.82, 44.70, 292.81°)
OKLaboklab(37.56% -0.001 -0.1183)
OKLCHoklch(37.56% 0.118 269.5)
XYZxyz(6.2570, 5.0293, 20.7156)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A7F #7F6E29
analogous
#29657F #293A7F #43297F
triadic
#293A7F #7F293A #3A7F29
tetradic
#293A7F #7F2965 #7F6E29 #297F43
square
#293A7F #7F2965 #7F6E29 #297F43
split-complementary
#293A7F #7F4329 #657F29
monochromatic
#0B1022 #1A2551 #293A7F #384FAD #596FC9

Accessibility & contrast

On white

10.47
#293A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#293A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293A7F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A7F#FFFFFF#000000##FFFFFF
##293A7F1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293a7f;
/* rgb */ color: rgb(41, 58, 127);
/* oklch */ color: oklch(37.6% 0.118 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d6fa5',
    500: '#293a7f',
    950: '#000000',
  },
}
SCSS
$custom: #293a7f;
$custom-light: #6d6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#293a7f",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 228.14,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.11829,
    "h": 269.5
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#293A7F
secondary
#AF9D55
accent
#BF4DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #293A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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