#293387#293387

#293387 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.139 H 272.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#293387
RGBrgb(41, 51, 135)
HSLhsl(234, 53%, 35%)
HSVhsv(234, 70%, 53%)
CMYKcmyk(69.6%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.53, 25.16, -48.31)
CIE-LCHlch(25.53, 54.47, 297.51°)
OKLaboklab(36.79% 0.0057 -0.1393)
OKLCHoklch(36.79% 0.139 272.4)
XYZxyz(6.4700, 4.5877, 23.4615)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293387 #877D29
analogous
#296287 #293387 #4E2987
triadic
#293387 #872933 #338729
tetradic
#293387 #872962 #877D29 #29874E
square
#293387 #872962 #877D29 #29874E
split-complementary
#293387 #874E29 #628729
monochromatic
#0C1029 #1B2158 #293387 #3745B6 #5D69CE

Accessibility & contrast

On white

10.95
#293387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293387
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293387#FFFFFF#000000##FFFFFF
##2933871.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #293387;
/* rgb */ color: rgb(41, 51, 135);
/* oklch */ color: oklch(36.8% 0.139 272.4);
Tailwind
colors: {
  custom: {
    50: '#6f6aab',
    500: '#293387',
    950: '#000000',
  },
}
SCSS
$custom: #293387;
$custom-light: #6f6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#293387",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 233.617,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36794,
    "c": 0.13938,
    "h": 272.4
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#293387
secondary
#B3AA59
accent
#CD4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #293387

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

Preview Lab → · Contrast checker → · Palette generator →

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