#293388#293388

#293388 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.141 H 272.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#293388
RGBrgb(41, 51, 136)
HSLhsl(234, 54%, 35%)
HSVhsv(234, 70%, 53%)
CMYKcmyk(69.9%, 62.5%, 0%, 46.7%)
CIE-LABlab(25.61, 25.54, -48.79)
CIE-LCHlch(25.61, 55.07, 297.63°)
OKLaboklab(36.88% 0.0057 -0.1407)
OKLCHoklch(36.88% 0.141 272.3)
XYZxyz(6.5407, 4.6160, 23.8341)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293388 #887E29
analogous
#296388 #293388 #4E2988
triadic
#293388 #882933 #338829
tetradic
#293388 #882963 #887E29 #29884E
square
#293388 #882963 #887E29 #29884E
split-complementary
#293388 #884E29 #638829
monochromatic
#0D102A #1B2159 #293388 #3745B7 #5D69CE

Accessibility & contrast

On white

10.92
#293388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#293388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293388
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293388#FFFFFF#000000##FFFFFF
##2933881.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #293388;
/* rgb */ color: rgb(41, 51, 136);
/* oklch */ color: oklch(36.9% 0.141 272.3);
Tailwind
colors: {
  custom: {
    50: '#706aab',
    500: '#293388',
    950: '#000000',
  },
}
SCSS
$custom: #293388;
$custom-light: #706aab;
$custom-dark: #000000;
JSON
{
  "hex": "#293388",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 233.684,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36884,
    "c": 0.1408,
    "h": 272.3
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#293388
secondary
#B4AA59
accent
#CE4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #293388

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

Preview Lab → · Contrast checker → · Palette generator →

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