#293474#293474

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

Color values

HEX#293474
RGBrgb(41, 52, 116)
HSLhsl(231, 48%, 31%)
HSVhsv(231, 65%, 45%)
CMYKcmyk(64.7%, 55.2%, 0%, 54.5%)
CIE-LABlab(24.28, 17.31, -38.34)
CIE-LCHlch(24.28, 42.07, 294.30°)
OKLaboklab(35.39% 0.0043 -0.11)
OKLCHoklch(35.39% 0.11 272.2)
XYZxyz(5.2938, 4.1879, 17.0490)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293474 #746929
analogous
#295974 #293474 #432974
triadic
#293474 #742934 #347429
tetradic
#293474 #742959 #746929 #297443
square
#293474 #742959 #746929 #297443
split-complementary
#293474 #744329 #597429
monochromatic
#090B1A #192047 #293474 #3948A1 #5565C3

Accessibility & contrast

On white

11.43
#293474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#293474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293474
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293474#FFFFFF#000000##FFFFFF
##2934741.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #293474;
/* rgb */ color: rgb(41, 52, 116);
/* oklch */ color: oklch(35.4% 0.110 272.2);
Tailwind
colors: {
  custom: {
    50: '#6b6b9c',
    500: '#293474',
    950: '#000000',
  },
}
SCSS
$custom: #293474;
$custom-light: #6b6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#293474",
  "rgb": {
    "r": 41,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 231.2,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.11004,
    "h": 272.2
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#293474
secondary
#A69A53
accent
#C450D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293474

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

Preview Lab → · Contrast checker → · Palette generator →

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