#293C81#293C81

#293C81 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.119 H 268.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#293C81
RGBrgb(41, 60, 129)
HSLhsl(227, 52%, 33%)
HSVhsv(227, 68%, 51%)
CMYKcmyk(68.2%, 53.5%, 0%, 49.4%)
CIE-LABlab(27.54, 16.71, -41.29)
CIE-LCHlch(27.54, 44.55, 292.03°)
OKLaboklab(38.15% -0.0028 -0.1185)
OKLCHoklch(38.15% 0.119 268.6)
XYZxyz(6.4914, 5.2875, 21.4431)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293C81 #816E29
analogous
#296881 #293C81 #422981
triadic
#293C81 #81293C #3C8129
tetradic
#293C81 #812968 #816E29 #298142
square
#293C81 #812968 #816E29 #298142
split-complementary
#293C81 #814229 #688129
monochromatic
#0B1124 #1A2653 #293C81 #3852AF #5A72CB

Accessibility & contrast

On white

10.21
#293C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#293C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293C81
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293C81#FFFFFF#000000##FFFFFF
##293C811.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124583
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #293c81;
/* rgb */ color: rgb(41, 60, 129);
/* oklch */ color: oklch(38.2% 0.119 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d71a6',
    500: '#293c81',
    950: '#000000',
  },
}
SCSS
$custom: #293c81;
$custom-light: #6d71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#293c81",
  "rgb": {
    "r": 41,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 227.045,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38151,
    "c": 0.11855,
    "h": 268.6
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#293C81
secondary
#B09C56
accent
#BC4DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #293C81

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

Preview Lab → · Contrast checker → · Palette generator →

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