#293C98#293C98

#293C98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.152 H 269.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#293C98
RGBrgb(41, 60, 152)
HSLhsl(230, 58%, 38%)
HSVhsv(230, 73%, 60%)
CMYKcmyk(73%, 60.5%, 0%, 40.4%)
CIE-LABlab(29.33, 25.49, -52.58)
CIE-LCHlch(29.33, 58.43, 295.86°)
OKLaboklab(40.07% -0.0017 -0.1517)
OKLCHoklch(40.07% 0.152 269.4)
XYZxyz(8.1959, 5.9693, 30.4199)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293C98 #988529
analogous
#297398 #293C98 #4E2998
triadic
#293C98 #98293C #3C9829
tetradic
#293C98 #982973 #988529 #29984E
square
#293C98 #982973 #988529 #29984E
split-complementary
#293C98 #984E29 #739829
monochromatic
#0F1638 #1C2968 #293C98 #364FC8 #6679D6

Accessibility & contrast

On white

9.57
#293C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#293C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293C98
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293C98#FFFFFF#000000##FFFFFF
##293C981.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293c98;
/* rgb */ color: rgb(41, 60, 152);
/* oklch */ color: oklch(40.1% 0.152 269.4);
Tailwind
colors: {
  custom: {
    50: '#7371b7',
    500: '#293c98',
    950: '#000000',
  },
}
SCSS
$custom: #293c98;
$custom-light: #7371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#293c98",
  "rgb": {
    "r": 41,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 229.73,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40065,
    "c": 0.15173,
    "h": 269.4
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#293C98
secondary
#BCAC61
accent
#C647E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293C98

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

Preview Lab → · Contrast checker → · Palette generator →

#293C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva