#294398#294398

#294398 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.143 H 267.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#294398
RGBrgb(41, 67, 152)
HSLhsl(226, 58%, 38%)
HSVhsv(226, 73%, 60%)
CMYKcmyk(73%, 55.9%, 0%, 40.4%)
CIE-LABlab(31.24, 20.76, -49.49)
CIE-LCHlch(31.24, 53.67, 292.75°)
OKLaboklab(41.49% -0.0073 -0.1425)
OKLCHoklch(41.49% 0.143 267.1)
XYZxyz(8.5871, 6.7518, 30.5504)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294398 #987E29
analogous
#297A98 #294398 #462998
triadic
#294398 #982943 #439829
tetradic
#294398 #98297A #987E29 #299846
square
#294398 #98297A #987E29 #299846
split-complementary
#294398 #984629 #7A9829
monochromatic
#0F1938 #1C2E68 #294398 #3658C8 #6680D6

Accessibility & contrast

On white

8.93
#294398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#294398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294398
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294398#FFFFFF#000000##FFFFFF
##2943981.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #294398;
/* rgb */ color: rgb(41, 67, 152);
/* oklch */ color: oklch(41.5% 0.143 267.1);
Tailwind
colors: {
  custom: {
    50: '#7276b7',
    500: '#294398',
    950: '#000000',
  },
}
SCSS
$custom: #294398;
$custom-light: #7276b7;
$custom-dark: #000000;
JSON
{
  "hex": "#294398",
  "rgb": {
    "r": 41,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 225.946,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.14273,
    "h": 267.1
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#294398
secondary
#BCA661
accent
#BD47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #294398

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

Preview Lab → · Contrast checker → · Palette generator →

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