#293788#293788

#293788 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.136 H 271.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#293788
RGBrgb(41, 55, 136)
HSLhsl(231, 54%, 35%)
HSVhsv(231, 70%, 53%)
CMYKcmyk(69.9%, 59.6%, 0%, 46.7%)
CIE-LABlab(26.68, 22.82, -47.05)
CIE-LCHlch(26.68, 52.29, 295.87°)
OKLaboklab(37.68% 0.0023 -0.1355)
OKLCHoklch(37.68% 0.136 271)
XYZxyz(6.7231, 4.9807, 23.8948)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293788 #887A29
analogous
#296788 #293788 #4B2988
triadic
#293788 #882937 #378829
tetradic
#293788 #882967 #887A29 #29884B
square
#293788 #882967 #887A29 #29884B
split-complementary
#293788 #884B29 #678829
monochromatic
#0D112A #1B2459 #293788 #374AB7 #5D6ECE

Accessibility & contrast

On white

10.52
#293788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#293788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293788
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293788#FFFFFF#000000##FFFFFF
##2937881.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293788;
/* rgb */ color: rgb(41, 55, 136);
/* oklch */ color: oklch(37.7% 0.136 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f6dab',
    500: '#293788',
    950: '#000000',
  },
}
SCSS
$custom: #293788;
$custom-light: #6f6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#293788",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 231.158,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.13555,
    "h": 271
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#293788
secondary
#B4A659
accent
#C74BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293788

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

Preview Lab → · Contrast checker → · Palette generator →

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