#293A7D#293A7D

#293A7D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.115 H 269.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#293A7D
RGBrgb(41, 58, 125)
HSLhsl(228, 51%, 33%)
HSVhsv(228, 67%, 49%)
CMYKcmyk(67.2%, 53.6%, 0%, 51%)
CIE-LABlab(26.67, 16.56, -40.19)
CIE-LCHlch(26.67, 43.47, 292.40°)
OKLaboklab(37.4% -0.0012 -0.1153)
OKLCHoklch(37.4% 0.115 269.4)
XYZxyz(6.1279, 4.9776, 20.0359)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A7D #7D6C29
analogous
#29647D #293A7D #42297D
triadic
#293A7D #7D293A #3A7D29
tetradic
#293A7D #7D2964 #7D6C29 #297D42
square
#293A7D #7D2964 #7D6C29 #297D42
split-complementary
#293A7D #7D4229 #647D29
monochromatic
#0B0F21 #1A254F #293A7D #384FAB #586FC8

Accessibility & contrast

On white

10.52
#293A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#293A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293A7D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A7D#FFFFFF#000000##FFFFFF
##293A7D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12437F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293a7d;
/* rgb */ color: rgb(41, 58, 125);
/* oklch */ color: oklch(37.4% 0.115 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d6fa3',
    500: '#293a7d',
    950: '#000000',
  },
}
SCSS
$custom: #293a7d;
$custom-light: #6d6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#293a7d",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 227.857,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37401,
    "c": 0.1153,
    "h": 269.4
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#293A7D
secondary
#AE9B54
accent
#BE4EDA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #293A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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