#294271#294271

#294271 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.086 H 262.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#294271
RGBrgb(41, 66, 113)
HSLhsl(219, 47%, 30%)
HSVhsv(219, 64%, 44%)
CMYKcmyk(63.7%, 41.6%, 0%, 55.7%)
CIE-LABlab(28.27, 6.49, -30.05)
CIE-LCHlch(28.27, 30.74, 282.20°)
OKLaboklab(38.37% -0.012 -0.0854)
OKLCHoklch(38.37% 0.086 262)
XYZxyz(5.8423, 5.5596, 16.3848)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294271 #715829
analogous
#296671 #294271 #342971
triadic
#294271 #712942 #427129
tetradic
#294271 #712966 #715829 #297134
square
#294271 #712966 #715829 #297134
split-complementary
#294271 #713429 #667129
monochromatic
#080E17 #192844 #294271 #395C9E #547AC1

Accessibility & contrast

On white

9.94
#294271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#294271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294271
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294271#FFFFFF#000000##FFFFFF
##2942711.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #294271;
/* rgb */ color: rgb(41, 66, 113);
/* oklch */ color: oklch(38.4% 0.086 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a769a',
    500: '#294271',
    950: '#000000',
  },
}
SCSS
$custom: #294271;
$custom-light: #6a769a;
$custom-dark: #000000;
JSON
{
  "hex": "#294271",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 219.167,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.08623,
    "h": 262
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#294271
secondary
#A38753
accent
#A851D6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294271

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

Preview Lab → · Contrast checker → · Palette generator →

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