#293272#293272

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

Color values

HEX#293272
RGBrgb(41, 50, 114)
HSLhsl(233, 47%, 30%)
HSVhsv(233, 64%, 45%)
CMYKcmyk(64%, 56.1%, 0%, 55.3%)
CIE-LABlab(23.56, 17.95, -38.23)
CIE-LCHlch(23.56, 42.24, 295.15°)
OKLaboklab(34.8% 0.0063 -0.1096)
OKLCHoklch(34.8% 0.11 273.3)
XYZxyz(5.0913, 3.9671, 16.4138)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293272 #726929
analogous
#295672 #293272 #442972
triadic
#293272 #722932 #327229
tetradic
#293272 #722956 #726929 #297244
square
#293272 #722956 #726929 #297244
split-complementary
#293272 #724429 #567229
monochromatic
#090B18 #191E45 #293272 #39469F #5461C1

Accessibility & contrast

On white

11.71
#293272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#293272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293272
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293272#FFFFFF#000000##FFFFFF
##2932721.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293272;
/* rgb */ color: rgb(41, 50, 114);
/* oklch */ color: oklch(34.8% 0.110 273.3);
Tailwind
colors: {
  custom: {
    50: '#6b699b',
    500: '#293272',
    950: '#000000',
  },
}
SCSS
$custom: #293272;
$custom-light: #6b699b;
$custom-dark: #000000;
JSON
{
  "hex": "#293272",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 232.603,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34798,
    "c": 0.10983,
    "h": 273.3
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#293272
secondary
#A49A53
accent
#C651D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293272

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

Preview Lab → · Contrast checker → · Palette generator →

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