#293274#293274

#293274 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.113 H 273.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#293274
RGBrgb(41, 50, 116)
HSLhsl(233, 48%, 31%)
HSVhsv(233, 65%, 45%)
CMYKcmyk(64.7%, 56.9%, 0%, 54.5%)
CIE-LABlab(23.71, 18.71, -39.26)
CIE-LCHlch(23.71, 43.49, 295.48°)
OKLaboklab(34.96% 0.0064 -0.1127)
OKLCHoklch(34.96% 0.113 273.3)
XYZxyz(5.2064, 4.0131, 17.0199)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293274 #746B29
analogous
#295774 #293274 #452974
triadic
#293274 #742932 #327429
tetradic
#293274 #742957 #746B29 #297445
square
#293274 #742957 #746B29 #297445
split-complementary
#293274 #744529 #577429
monochromatic
#090B1A #191F47 #293274 #3945A1 #5562C3

Accessibility & contrast

On white

11.65
#293274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#293274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293274
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293274#FFFFFF#000000##FFFFFF
##2932741.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293274;
/* rgb */ color: rgb(41, 50, 116);
/* oklch */ color: oklch(35.0% 0.113 273.3);
Tailwind
colors: {
  custom: {
    50: '#6b699d',
    500: '#293274',
    950: '#000000',
  },
}
SCSS
$custom: #293274;
$custom-light: #6b699d;
$custom-dark: #000000;
JSON
{
  "hex": "#293274",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 232.8,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34961,
    "c": 0.11286,
    "h": 273.3
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#293274
secondary
#A69C53
accent
#C750D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293274

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

Preview Lab → · Contrast checker → · Palette generator →

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