#293E87#293E87

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

Color values

HEX#293E87
RGBrgb(41, 62, 135)
HSLhsl(227, 53%, 35%)
HSVhsv(227, 70%, 53%)
CMYKcmyk(69.6%, 54.1%, 0%, 47.1%)
CIE-LABlab(28.55, 17.64, -43.39)
CIE-LCHlch(28.55, 46.84, 292.12°)
OKLaboklab(39.06% -0.0042 -0.1247)
OKLCHoklch(39.06% 0.125 268.1)
XYZxyz(7.0087, 5.6653, 23.6411)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293E87 #877229
analogous
#296D87 #293E87 #432987
triadic
#293E87 #87293E #3E8729
tetradic
#293E87 #87296D #877229 #298743
square
#293E87 #87296D #877229 #298743
split-complementary
#293E87 #874329 #6D8729
monochromatic
#0C1329 #1B2858 #293E87 #3754B6 #5D76CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##293E87#FFFFFF#000000##FFFFFF
##293E871.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)
#0E488A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #293e87;
/* rgb */ color: rgb(41, 62, 135);
/* oklch */ color: oklch(39.1% 0.125 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f72aa',
    500: '#293e87',
    950: '#000000',
  },
}
SCSS
$custom: #293e87;
$custom-light: #6f72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#293e87",
  "rgb": {
    "r": 41,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 226.596,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39057,
    "c": 0.12474,
    "h": 268.1
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#293E87
secondary
#B39F59
accent
#BC4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #293E87

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

Preview Lab → · Contrast checker → · Palette generator →

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