#293374#293374

#293374 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.111 H 272.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#293374
RGBrgb(41, 51, 116)
HSLhsl(232, 48%, 31%)
HSVhsv(232, 65%, 45%)
CMYKcmyk(64.7%, 56%, 0%, 54.5%)
CIE-LABlab(24.00, 18.01, -38.80)
CIE-LCHlch(24.00, 42.78, 294.90°)
OKLaboklab(35.17% 0.0053 -0.1113)
OKLCHoklch(35.17% 0.111 272.7)
XYZxyz(5.2496, 4.0996, 17.0343)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293374 #746A29
analogous
#295874 #293374 #442974
triadic
#293374 #742933 #337429
tetradic
#293374 #742958 #746A29 #297444
square
#293374 #742958 #746A29 #297444
split-complementary
#293374 #744429 #587429
monochromatic
#090B1A #191F47 #293374 #3947A1 #5563C3

Accessibility & contrast

On white

11.54
#293374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293374
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293374#FFFFFF#000000##FFFFFF
##2933741.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #293374;
/* rgb */ color: rgb(41, 51, 116);
/* oklch */ color: oklch(35.2% 0.111 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b6a9c',
    500: '#293374',
    950: '#000000',
  },
}
SCSS
$custom: #293374;
$custom-light: #6b6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#293374",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 232,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.11145,
    "h": 272.7
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#293374
secondary
#A69B53
accent
#C550D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293374

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

Preview Lab → · Contrast checker → · Palette generator →

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