#293187#293187

#293187 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.142 H 273.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#293187
RGBrgb(41, 49, 135)
HSLhsl(235, 53%, 35%)
HSVhsv(235, 70%, 53%)
CMYKcmyk(69.6%, 63.7%, 0%, 47.1%)
CIE-LABlab(25.00, 26.51, -49.16)
CIE-LCHlch(25.00, 55.85, 298.34°)
OKLaboklab(36.41% 0.0074 -0.1418)
OKLCHoklch(36.41% 0.142 273)
XYZxyz(6.3845, 4.4167, 23.4330)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293187 #877F29
analogous
#296087 #293187 #502987
triadic
#293187 #872931 #318729
tetradic
#293187 #872960 #877F29 #298750
square
#293187 #872960 #877F29 #298750
split-complementary
#293187 #875029 #608729
monochromatic
#0C0F29 #1B2058 #293187 #3742B6 #5D66CE

Accessibility & contrast

On white

11.15
#293187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#293187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293187
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293187#FFFFFF#000000##FFFFFF
##2931871.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #293187;
/* rgb */ color: rgb(41, 49, 135);
/* oklch */ color: oklch(36.4% 0.142 273.0);
Tailwind
colors: {
  custom: {
    50: '#7069ab',
    500: '#293187',
    950: '#000000',
  },
}
SCSS
$custom: #293187;
$custom-light: #7069ab;
$custom-dark: #000000;
JSON
{
  "hex": "#293187",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 234.894,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36408,
    "c": 0.14197,
    "h": 273
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#293187
secondary
#B3AB59
accent
#D04BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #293187

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

Preview Lab → · Contrast checker → · Palette generator →

#293187 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva