#293D98#293D98

#293D98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.150 H 269.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#293D98
RGBrgb(41, 61, 152)
HSLhsl(229, 58%, 38%)
HSVhsv(229, 73%, 60%)
CMYKcmyk(73%, 59.9%, 0%, 40.4%)
CIE-LABlab(29.60, 24.81, -52.15)
CIE-LCHlch(29.60, 57.75, 295.45°)
OKLaboklab(40.26% -0.0024 -0.1504)
OKLCHoklch(40.26% 0.15 269.1)
XYZxyz(8.2487, 6.0751, 30.4376)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D98 #988429
analogous
#297498 #293D98 #4C2998
triadic
#293D98 #98293D #3D9829
tetradic
#293D98 #982974 #988429 #29984C
square
#293D98 #982974 #988429 #29984C
split-complementary
#293D98 #984C29 #749829
monochromatic
#0F1638 #1C2A68 #293D98 #3650C8 #667AD6

Accessibility & contrast

On white

9.48
#293D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#293D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D98
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D98#FFFFFF#000000##FFFFFF
##293D981.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #293d98;
/* rgb */ color: rgb(41, 61, 152);
/* oklch */ color: oklch(40.3% 0.150 269.1);
Tailwind
colors: {
  custom: {
    50: '#7372b7',
    500: '#293d98',
    950: '#000000',
  },
}
SCSS
$custom: #293d98;
$custom-light: #7372b7;
$custom-dark: #000000;
JSON
{
  "hex": "#293d98",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 229.189,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.15045,
    "h": 269.1
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#293D98
secondary
#BCAB61
accent
#C547E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293D98

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

Preview Lab → · Contrast checker → · Palette generator →

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