#293278#293278

#293278 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.119 H 273.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#293278
RGBrgb(41, 50, 120)
HSLhsl(233, 49%, 32%)
HSVhsv(233, 66%, 47%)
CMYKcmyk(65.8%, 58.3%, 0%, 52.9%)
CIE-LABlab(24.03, 20.21, -41.31)
CIE-LCHlch(24.03, 45.98, 296.07°)
OKLaboklab(35.29% 0.0066 -0.1187)
OKLCHoklch(35.29% 0.119 273.2)
XYZxyz(5.4441, 4.1082, 18.2717)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293278 #786F29
analogous
#295A78 #293278 #482978
triadic
#293278 #782932 #327829
tetradic
#293278 #78295A #786F29 #297848
square
#293278 #78295A #786F29 #297848
split-complementary
#293278 #784829 #5A7829
monochromatic
#0A0C1D #191F4A #293278 #3945A6 #5663C5

Accessibility & contrast

On white

11.53
#293278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#293278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293278
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293278#FFFFFF#000000##FFFFFF
##2932781.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #293278;
/* rgb */ color: rgb(41, 50, 120);
/* oklch */ color: oklch(35.3% 0.119 273.2);
Tailwind
colors: {
  custom: {
    50: '#6c69a0',
    500: '#293278',
    950: '#000000',
  },
}
SCSS
$custom: #293278;
$custom-light: #6c69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#293278",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 233.165,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35292,
    "c": 0.11887,
    "h": 273.2
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#293278
secondary
#AAA053
accent
#C94FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #293278

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

Preview Lab → · Contrast checker → · Palette generator →

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