#294187#294187

#294187 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.121 H 266.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#294187
RGBrgb(41, 65, 135)
HSLhsl(225, 53%, 35%)
HSVhsv(225, 70%, 53%)
CMYKcmyk(69.6%, 51.9%, 0%, 47.1%)
CIE-LABlab(29.41, 15.58, -42.00)
CIE-LCHlch(29.41, 44.80, 290.35°)
OKLaboklab(39.71% -0.0071 -0.1205)
OKLCHoklch(39.71% 0.121 266.6)
XYZxyz(7.1764, 6.0006, 23.6970)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294187 #876F29
analogous
#297087 #294187 #402987
triadic
#294187 #872941 #418729
tetradic
#294187 #872970 #876F29 #298740
square
#294187 #872970 #876F29 #298740
split-complementary
#294187 #874029 #708729
monochromatic
#0C1429 #1B2A58 #294187 #3758B6 #5D7ACE

Accessibility & contrast

On white

9.54
#294187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#294187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294187
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294187#FFFFFF#000000##FFFFFF
##2941871.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #294187;
/* rgb */ color: rgb(41, 65, 135);
/* oklch */ color: oklch(39.7% 0.121 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e75aa',
    500: '#294187',
    950: '#000000',
  },
}
SCSS
$custom: #294187;
$custom-light: #6e75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#294187",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 224.681,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39711,
    "c": 0.12074,
    "h": 266.6
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#294187
secondary
#B39C59
accent
#B84BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #294187

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

Preview Lab → · Contrast checker → · Palette generator →

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