#293E98#293E98

#293E98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.149 H 268.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#293E98
RGBrgb(41, 62, 152)
HSLhsl(229, 58%, 38%)
HSVhsv(229, 73%, 60%)
CMYKcmyk(73%, 59.2%, 0%, 40.4%)
CIE-LABlab(29.87, 24.14, -51.71)
CIE-LCHlch(29.87, 57.07, 295.02°)
OKLaboklab(40.46% -0.0032 -0.1491)
OKLCHoklch(40.46% 0.149 268.8)
XYZxyz(8.3026, 6.1828, 30.4555)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293E98 #988329
analogous
#297598 #293E98 #4C2998
triadic
#293E98 #98293E #3E9829
tetradic
#293E98 #982975 #988329 #29984C
square
#293E98 #982975 #988329 #29984C
split-complementary
#293E98 #984C29 #759829
monochromatic
#0F1738 #1C2A68 #293E98 #3652C8 #667BD6

Accessibility & contrast

On white

9.39
#293E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#293E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293E98
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293E98#FFFFFF#000000##FFFFFF
##293E981.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #293e98;
/* rgb */ color: rgb(41, 62, 152);
/* oklch */ color: oklch(40.5% 0.149 268.8);
Tailwind
colors: {
  custom: {
    50: '#7373b7',
    500: '#293e98',
    950: '#000000',
  },
}
SCSS
$custom: #293e98;
$custom-light: #7373b7;
$custom-dark: #000000;
JSON
{
  "hex": "#293e98",
  "rgb": {
    "r": 41,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 228.649,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.14918,
    "h": 268.8
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#293E98
secondary
#BCAB61
accent
#C447E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #293E98

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

Preview Lab → · Contrast checker → · Palette generator →

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