#294899#294899

#294899 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.138 H 265.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#294899
RGBrgb(41, 72, 153)
HSLhsl(223, 58%, 38%)
HSVhsv(223, 73%, 60%)
CMYKcmyk(73.2%, 52.9%, 0%, 40%)
CIE-LABlab(32.71, 17.76, -47.71)
CIE-LCHlch(32.71, 50.91, 290.42°)
OKLaboklab(42.63% -0.0115 -0.1372)
OKLCHoklch(42.63% 0.138 265.2)
XYZxyz(8.9796, 7.4051, 31.0869)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294899 #997A29
analogous
#298099 #294899 #422999
triadic
#294899 #992948 #489929
tetradic
#294899 #992980 #997A29 #299942
square
#294899 #992980 #997A29 #299942
split-complementary
#294899 #994229 #809929
monochromatic
#0F1B38 #1C3169 #294899 #365FC9 #6685D6

Accessibility & contrast

On white

8.46
#294899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#294899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294899
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294899#FFFFFF#000000##FFFFFF
##2948991.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #294899;
/* rgb */ color: rgb(41, 72, 153);
/* oklch */ color: oklch(42.6% 0.138 265.2);
Tailwind
colors: {
  custom: {
    50: '#727ab8',
    500: '#294899',
    950: '#000000',
  },
}
SCSS
$custom: #294899;
$custom-light: #727ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#294899",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 223.393,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.13768,
    "h": 265.2
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#294899
secondary
#BCA362
accent
#B647E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #294899

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

Preview Lab → · Contrast checker → · Palette generator →

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