#294371#294371

#294371 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.6% C 0.085 H 261.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#294371
RGBrgb(41, 67, 113)
HSLhsl(218, 47%, 30%)
HSVhsv(218, 64%, 44%)
CMYKcmyk(63.7%, 40.7%, 0%, 55.7%)
CIE-LABlab(28.58, 5.82, -29.55)
CIE-LCHlch(28.58, 30.12, 281.13°)
OKLaboklab(38.61% -0.0132 -0.0839)
OKLCHoklch(38.61% 0.085 261)
XYZxyz(5.9012, 5.6775, 16.4045)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294371 #715729
analogous
#296771 #294371 #332971
triadic
#294371 #712943 #437129
tetradic
#294371 #712967 #715729 #297133
square
#294371 #712967 #715729 #297133
split-complementary
#294371 #713329 #677129
monochromatic
#080E17 #192844 #294371 #395E9E #547BC1

Accessibility & contrast

On white

9.83
#294371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#294371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294371
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294371#FFFFFF#000000##FFFFFF
##2943711.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#254070
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #294371;
/* rgb */ color: rgb(41, 67, 113);
/* oklch */ color: oklch(38.6% 0.085 261.0);
Tailwind
colors: {
  custom: {
    50: '#6a769a',
    500: '#294371',
    950: '#000000',
  },
}
SCSS
$custom: #294371;
$custom-light: #6a769a;
$custom-dark: #000000;
JSON
{
  "hex": "#294371",
  "rgb": {
    "r": 41,
    "g": 67,
    "b": 113
  },
  "hsl": {
    "h": 218.333,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.08496,
    "h": 261
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#294371
secondary
#A38653
accent
#A651D6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294371

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

Preview Lab → · Contrast checker → · Palette generator →

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