#294087#294087

#294087 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.122 H 267.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#294087
RGBrgb(41, 64, 135)
HSLhsl(225, 53%, 35%)
HSVhsv(225, 70%, 53%)
CMYKcmyk(69.6%, 52.6%, 0%, 47.1%)
CIE-LABlab(29.13, 16.26, -42.47)
CIE-LCHlch(29.13, 45.48, 290.96°)
OKLaboklab(39.49% -0.0061 -0.1219)
OKLCHoklch(39.49% 0.122 267.1)
XYZxyz(7.1195, 5.8868, 23.6780)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294087 #877029
analogous
#296F87 #294087 #412987
triadic
#294087 #872940 #408729
tetradic
#294087 #87296F #877029 #298741
square
#294087 #87296F #877029 #298741
split-complementary
#294087 #874129 #6F8729
monochromatic
#0C1329 #1B2A58 #294087 #3756B6 #5D78CE

Accessibility & contrast

On white

9.64
#294087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#294087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294087
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294087#FFFFFF#000000##FFFFFF
##2940871.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #294087;
/* rgb */ color: rgb(41, 64, 135);
/* oklch */ color: oklch(39.5% 0.122 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f74aa',
    500: '#294087',
    950: '#000000',
  },
}
SCSS
$custom: #294087;
$custom-light: #6f74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#294087",
  "rgb": {
    "r": 41,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 225.319,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39491,
    "c": 0.12207,
    "h": 267.1
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#294087
secondary
#B39D59
accent
#B94BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #294087

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

Preview Lab → · Contrast checker → · Palette generator →

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