#294B87#294B87

#294B87 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.108 H 260.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#294B87
RGBrgb(41, 75, 135)
HSLhsl(218, 53%, 35%)
HSVhsv(218, 70%, 53%)
CMYKcmyk(69.6%, 44.4%, 0%, 47.1%)
CIE-LABlab(32.37, 8.79, -37.25)
CIE-LCHlch(32.37, 38.27, 283.28°)
OKLaboklab(41.98% -0.0171 -0.1064)
OKLCHoklch(41.98% 0.108 260.9)
XYZxyz(7.8021, 7.2521, 23.9056)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294B87 #876529
analogous
#297A87 #294B87 #362987
triadic
#294B87 #87294B #4B8729
tetradic
#294B87 #87297A #876529 #298736
square
#294B87 #87297A #876529 #298736
split-complementary
#294B87 #873629 #7A8729
monochromatic
#0C1729 #1B3158 #294B87 #3765B6 #5D86CE

Accessibility & contrast

On white

8.57
#294B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#294B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294B87
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294B87#FFFFFF#000000##FFFFFF
##294B871.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5189
Deuteranopia (green-blind)
#1F4886
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #294b87;
/* rgb */ color: rgb(41, 75, 135);
/* oklch */ color: oklch(42.0% 0.108 260.9);
Tailwind
colors: {
  custom: {
    50: '#6e7caa',
    500: '#294b87',
    950: '#000000',
  },
}
SCSS
$custom: #294b87;
$custom-light: #6e7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#294b87",
  "rgb": {
    "r": 41,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 218.298,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41978,
    "c": 0.10776,
    "h": 260.9
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#294B87
secondary
#B39259
accent
#A84BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #294B87

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

Preview Lab → · Contrast checker → · Palette generator →

#294B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva