#293B81#293B81

#293B81 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.120 H 269.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#293B81
RGBrgb(41, 59, 129)
HSLhsl(228, 52%, 33%)
HSVhsv(228, 68%, 51%)
CMYKcmyk(68.2%, 54.3%, 0%, 49.4%)
CIE-LABlab(27.25, 17.40, -41.76)
CIE-LCHlch(27.25, 45.24, 292.62°)
OKLaboklab(37.93% -0.0018 -0.1199)
OKLCHoklch(37.93% 0.12 269.1)
XYZxyz(6.4395, 5.1837, 21.4258)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293B81 #816F29
analogous
#296781 #293B81 #432981
triadic
#293B81 #81293B #3B8129
tetradic
#293B81 #812967 #816F29 #298143
square
#293B81 #812967 #816F29 #298143
split-complementary
#293B81 #814329 #678129
monochromatic
#0B1124 #1A2653 #293B81 #3850AF #5A71CB

Accessibility & contrast

On white

10.31
#293B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#293B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293B81
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293B81#FFFFFF#000000##FFFFFF
##293B811.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4583
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293b81;
/* rgb */ color: rgb(41, 59, 129);
/* oklch */ color: oklch(37.9% 0.120 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d70a6',
    500: '#293b81',
    950: '#000000',
  },
}
SCSS
$custom: #293b81;
$custom-light: #6d70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#293b81",
  "rgb": {
    "r": 41,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 227.727,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.11991,
    "h": 269.1
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#293B81
secondary
#B09D56
accent
#BE4DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #293B81

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

Preview Lab → · Contrast checker → · Palette generator →

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