#293298#293298

#293298 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.164 H 271.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#293298
RGBrgb(41, 50, 152)
HSLhsl(235, 58%, 38%)
HSVhsv(235, 73%, 60%)
CMYKcmyk(73%, 67.1%, 0%, 40.4%)
CIE-LABlab(26.79, 32.11, -56.75)
CIE-LCHlch(26.79, 65.20, 299.50°)
OKLaboklab(38.19% 0.0056 -0.164)
OKLCHoklch(38.19% 0.164 271.9)
XYZxyz(7.7206, 5.0188, 30.2615)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293298 #988F29
analogous
#296998 #293298 #572998
triadic
#293298 #982932 #329829
tetradic
#293298 #982969 #988F29 #299857
square
#293298 #982969 #988F29 #299857
split-complementary
#293298 #985729 #699829
monochromatic
#0F1238 #1C2268 #293298 #3642C8 #666FD6

Accessibility & contrast

On white

10.48
#293298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#293298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293298
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293298#FFFFFF#000000##FFFFFF
##2932981.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293298;
/* rgb */ color: rgb(41, 50, 152);
/* oklch */ color: oklch(38.2% 0.164 271.9);
Tailwind
colors: {
  custom: {
    50: '#746ab7',
    500: '#293298',
    950: '#000000',
  },
}
SCSS
$custom: #293298;
$custom-light: #746ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#293298",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 235.135,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38189,
    "c": 0.1641,
    "h": 271.9
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#293298
secondary
#BCB461
accent
#D447E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293298

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

Preview Lab → · Contrast checker → · Palette generator →

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