#293D87#293D87

#293D87 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.126 H 268.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#293D87
RGBrgb(41, 61, 135)
HSLhsl(227, 53%, 35%)
HSVhsv(227, 70%, 53%)
CMYKcmyk(69.6%, 54.8%, 0%, 47.1%)
CIE-LABlab(28.27, 18.32, -43.85)
CIE-LCHlch(28.27, 47.53, 292.68°)
OKLaboklab(38.84% -0.0032 -0.126)
OKLCHoklch(38.84% 0.126 268.5)
XYZxyz(6.9549, 5.5575, 23.6232)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D87 #877329
analogous
#296C87 #293D87 #442987
triadic
#293D87 #87293D #3D8729
tetradic
#293D87 #87296C #877329 #298744
square
#293D87 #87296C #877329 #298744
split-complementary
#293D87 #874429 #6C8729
monochromatic
#0C1329 #1B2858 #293D87 #3752B6 #5D75CE

Accessibility & contrast

On white

9.95
#293D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#293D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D87
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D87#FFFFFF#000000##FFFFFF
##293D871.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #293d87;
/* rgb */ color: rgb(41, 61, 135);
/* oklch */ color: oklch(38.8% 0.126 268.5);
Tailwind
colors: {
  custom: {
    50: '#6f72aa',
    500: '#293d87',
    950: '#000000',
  },
}
SCSS
$custom: #293d87;
$custom-light: #6f72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#293d87",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 227.234,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.12608,
    "h": 268.5
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#293D87
secondary
#B3A059
accent
#BE4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293D87

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

Preview Lab → · Contrast checker → · Palette generator →

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