#293D8E#293D8E

#293D8E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.136 H 268.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#293D8E
RGBrgb(41, 61, 142)
HSLhsl(228, 55%, 36%)
HSVhsv(228, 71%, 56%)
CMYKcmyk(71.1%, 57%, 0%, 44.3%)
CIE-LABlab(28.80, 21.00, -47.32)
CIE-LCHlch(28.80, 51.77, 293.94°)
OKLaboklab(39.41% -0.0028 -0.1362)
OKLCHoklch(39.41% 0.136 268.8)
XYZxyz(7.4640, 5.7612, 26.3046)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D8E #8E7A29
analogous
#296F8E #293D8E #47298E
triadic
#293D8E #8E293D #3D8E29
tetradic
#293D8E #8E296F #8E7A29 #298E47
square
#293D8E #8E296F #8E7A29 #298E47
split-complementary
#293D8E #8E4729 #6F8E29
monochromatic
#0E142F #1B295F #293D8E #3751BD #6077D1

Accessibility & contrast

On white

9.76
#293D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#293D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D8E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D8E#FFFFFF#000000##FFFFFF
##293D8E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293d8e;
/* rgb */ color: rgb(41, 61, 142);
/* oklch */ color: oklch(39.4% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#7072b0',
    500: '#293d8e',
    950: '#000000',
  },
}
SCSS
$custom: #293d8e;
$custom-light: #7072b0;
$custom-dark: #000000;
JSON
{
  "hex": "#293d8e",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 228.119,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39414,
    "c": 0.13626,
    "h": 268.8
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#293D8E
secondary
#B7A55C
accent
#C149DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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