#293377#293377

#293377 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.116 H 272.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#293377
RGBrgb(41, 51, 119)
HSLhsl(232, 49%, 31%)
HSVhsv(232, 66%, 47%)
CMYKcmyk(65.5%, 57.1%, 0%, 53.3%)
CIE-LABlab(24.23, 19.14, -40.34)
CIE-LCHlch(24.23, 44.65, 295.38°)
OKLaboklab(35.42% 0.0055 -0.1158)
OKLCHoklch(35.42% 0.116 272.7)
XYZxyz(5.4269, 4.1705, 17.9682)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293377 #776D29
analogous
#295A77 #293377 #462977
triadic
#293377 #772933 #337729
tetradic
#293377 #77295A #776D29 #297746
square
#293377 #77295A #776D29 #297746
split-complementary
#293377 #774629 #5A7729
monochromatic
#0A0C1C #191F49 #293377 #3947A5 #5664C5

Accessibility & contrast

On white

11.45
#293377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#293377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293377
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293377#FFFFFF#000000##FFFFFF
##2933771.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D79
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #293377;
/* rgb */ color: rgb(41, 51, 119);
/* oklch */ color: oklch(35.4% 0.116 272.7);
Tailwind
colors: {
  custom: {
    50: '#6c6a9f',
    500: '#293377',
    950: '#000000',
  },
}
SCSS
$custom: #293377;
$custom-light: #6c6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#293377",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 232.308,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.11598,
    "h": 272.7
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#293377
secondary
#A99E53
accent
#C74FD8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293377

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

Preview Lab → · Contrast checker → · Palette generator →

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