#293D8B#293D8B

#293D8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.132 H 268.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#293D8B
RGBrgb(41, 61, 139)
HSLhsl(228, 54%, 35%)
HSVhsv(228, 71%, 55%)
CMYKcmyk(70.5%, 56.1%, 0%, 45.5%)
CIE-LABlab(28.57, 19.86, -45.84)
CIE-LCHlch(28.57, 49.96, 293.42°)
OKLaboklab(39.17% -0.0029 -0.1319)
OKLCHoklch(39.17% 0.132 268.7)
XYZxyz(7.2418, 5.6723, 25.1343)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D8B #8B7729
analogous
#296E8B #293D8B #46298B
triadic
#293D8B #8B293D #3D8B29
tetradic
#293D8B #8B296E #8B7729 #298B46
square
#293D8B #8B296E #8B7729 #298B46
split-complementary
#293D8B #8B4629 #6E8B29
monochromatic
#0D142C #1B285C #293D8B #3752BA #5F76D0

Accessibility & contrast

On white

9.84
#293D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#293D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D8B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D8B#FFFFFF#000000##FFFFFF
##293D8B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #293d8b;
/* rgb */ color: rgb(41, 61, 139);
/* oklch */ color: oklch(39.2% 0.132 268.7);
Tailwind
colors: {
  custom: {
    50: '#7072ad',
    500: '#293d8b',
    950: '#000000',
  },
}
SCSS
$custom: #293d8b;
$custom-light: #7072ad;
$custom-dark: #000000;
JSON
{
  "hex": "#293d8b",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 227.755,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39167,
    "c": 0.13192,
    "h": 268.7
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#293D8B
secondary
#B5A35B
accent
#C04ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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