#294387#294387

#294387 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.118 H 265.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#294387
RGBrgb(41, 67, 135)
HSLhsl(223, 53%, 35%)
HSVhsv(223, 70%, 53%)
CMYKcmyk(69.6%, 50.4%, 0%, 47.1%)
CIE-LABlab(30.00, 14.21, -41.06)
CIE-LCHlch(30.00, 43.45, 289.09°)
OKLaboklab(40.15% -0.009 -0.1177)
OKLCHoklch(40.15% 0.118 265.6)
XYZxyz(7.2933, 6.2343, 23.7360)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294387 #876D29
analogous
#297287 #294387 #3E2987
triadic
#294387 #872943 #438729
tetradic
#294387 #872972 #876D29 #29873E
square
#294387 #872972 #876D29 #29873E
split-complementary
#294387 #873E29 #728729
monochromatic
#0C1429 #1B2C58 #294387 #375AB6 #5D7CCE

Accessibility & contrast

On white

9.35
#294387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#294387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294387
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294387#FFFFFF#000000##FFFFFF
##2943871.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#044386
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #294387;
/* rgb */ color: rgb(41, 67, 135);
/* oklch */ color: oklch(40.2% 0.118 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e76aa',
    500: '#294387',
    950: '#000000',
  },
}
SCSS
$custom: #294387;
$custom-light: #6e76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#294387",
  "rgb": {
    "r": 41,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 223.404,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40154,
    "c": 0.11809,
    "h": 265.6
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#294387
secondary
#B39A59
accent
#B44BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #294387

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

Preview Lab → · Contrast checker → · Palette generator →

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