#294687#294687

#294687 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.114 H 264.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#294687
RGBrgb(41, 70, 135)
HSLhsl(221, 53%, 35%)
HSVhsv(221, 70%, 53%)
CMYKcmyk(69.6%, 48.1%, 0%, 47.1%)
CIE-LABlab(30.88, 12.17, -39.65)
CIE-LCHlch(30.88, 41.47, 287.06°)
OKLaboklab(40.83% -0.012 -0.1135)
OKLCHoklch(40.83% 0.114 264)
XYZxyz(7.4762, 6.6003, 23.7969)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294687 #876A29
analogous
#297587 #294687 #3B2987
triadic
#294687 #872946 #468729
tetradic
#294687 #872975 #876A29 #29873B
square
#294687 #872975 #876A29 #29873B
split-complementary
#294687 #873B29 #758729
monochromatic
#0C1529 #1B2E58 #294687 #375EB6 #5D80CE

Accessibility & contrast

On white

9.05
#294687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#294687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294687
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294687#FFFFFF#000000##FFFFFF
##2946871.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D89
Deuteranopia (green-blind)
#114586
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #294687;
/* rgb */ color: rgb(41, 70, 135);
/* oklch */ color: oklch(40.8% 0.114 264.0);
Tailwind
colors: {
  custom: {
    50: '#6e79aa',
    500: '#294687',
    950: '#000000',
  },
}
SCSS
$custom: #294687;
$custom-light: #6e79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#294687",
  "rgb": {
    "r": 41,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 221.489,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.11414,
    "h": 264
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#294687
secondary
#B39759
accent
#B04BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #294687

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

Preview Lab → · Contrast checker → · Palette generator →

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