#294381#294381

#294381 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.109 H 264.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#294381
RGBrgb(41, 67, 129)
HSLhsl(222, 52%, 33%)
HSVhsv(222, 68%, 51%)
CMYKcmyk(68.2%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.59, 11.90, -37.99)
CIE-LCHlch(29.59, 39.82, 287.39°)
OKLaboklab(39.71% -0.0099 -0.1087)
OKLCHoklch(39.71% 0.109 264.8)
XYZxyz(6.8827, 6.0701, 21.5735)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294381 #816729
analogous
#296F81 #294381 #3B2981
triadic
#294381 #812943 #438129
tetradic
#294381 #81296F #816729 #29813B
square
#294381 #81296F #816729 #29813B
split-complementary
#294381 #813B29 #6F8129
monochromatic
#0B1324 #1A2B53 #294381 #385BAF #5A7BCB

Accessibility & contrast

On white

9.48
#294381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#294381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294381
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294381#FFFFFF#000000##FFFFFF
##2943811.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A83
Deuteranopia (green-blind)
#134280
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #294381;
/* rgb */ color: rgb(41, 67, 129);
/* oklch */ color: oklch(39.7% 0.109 264.8);
Tailwind
colors: {
  custom: {
    50: '#6d76a6',
    500: '#294381',
    950: '#000000',
  },
}
SCSS
$custom: #294381;
$custom-light: #6d76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#294381",
  "rgb": {
    "r": 41,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 222.273,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39712,
    "c": 0.10916,
    "h": 264.8
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#294381
secondary
#B09556
accent
#B14DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #294381

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

Preview Lab → · Contrast checker → · Palette generator →

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