#293A81#293A81

#293A81 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.121 H 269.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#293A81
RGBrgb(41, 58, 129)
HSLhsl(228, 52%, 33%)
HSVhsv(228, 68%, 51%)
CMYKcmyk(68.2%, 55%, 0%, 49.4%)
CIE-LABlab(26.97, 18.09, -42.22)
CIE-LCHlch(26.97, 45.93, 293.20°)
OKLaboklab(37.72% -0.0008 -0.1213)
OKLCHoklch(37.72% 0.121 269.6)
XYZxyz(6.3886, 5.0819, 21.4089)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A81 #817029
analogous
#296681 #293A81 #442981
triadic
#293A81 #81293A #3A8129
tetradic
#293A81 #812966 #817029 #298144
square
#293A81 #812966 #817029 #298144
split-complementary
#293A81 #814429 #668129
monochromatic
#0B1024 #1A2553 #293A81 #384FAF #5A70CB

Accessibility & contrast

On white

10.41
#293A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293A81
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A81#FFFFFF#000000##FFFFFF
##293A811.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4483
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293a81;
/* rgb */ color: rgb(41, 58, 129);
/* oklch */ color: oklch(37.7% 0.121 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e6fa6',
    500: '#293a81',
    950: '#000000',
  },
}
SCSS
$custom: #293a81;
$custom-light: #6e6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#293a81",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 129
  },
  "hsl": {
    "h": 228.409,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37719,
    "c": 0.12127,
    "h": 269.6
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#293A81
secondary
#B09E56
accent
#C04DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #293A81

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

Preview Lab → · Contrast checker → · Palette generator →

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