#2940A0#2940A0

#2940A0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.158 H 268.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2940A0
RGBrgb(41, 64, 160)
HSLhsl(228, 59%, 39%)
HSVhsv(228, 74%, 63%)
CMYKcmyk(74.4%, 60%, 0%, 37.3%)
CIE-LABlab(31.06, 25.83, -54.64)
CIE-LCHlch(31.06, 60.43, 295.31°)
OKLaboklab(41.55% -0.0046 -0.1577)
OKLCHoklch(41.55% 0.158 268.3)
XYZxyz(9.0908, 6.6753, 34.0602)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2940A0 #A08929
analogous
#297CA0 #2940A0 #4D29A0
triadic
#2940A0 #A02940 #40A029
tetradic
#2940A0 #A0297C #A08929 #29A04D
square
#2940A0 #A0297C #A08929 #29A04D
split-complementary
#2940A0 #A04D29 #7CA029
monochromatic
#10193F #1D2D6F #2940A0 #3A56CC #6A80D9

Accessibility & contrast

On white

8.99
#2940A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2940A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2940A0
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2940A0#FFFFFF#000000##FFFFFF
##2940A01.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2940a0;
/* rgb */ color: rgb(41, 64, 160);
/* oklch */ color: oklch(41.6% 0.158 268.3);
Tailwind
colors: {
  custom: {
    50: '#7474bd',
    500: '#2940a0',
    950: '#000000',
  },
}
SCSS
$custom: #2940a0;
$custom-light: #7474bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2940a0",
  "rgb": {
    "r": 41,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 228.403,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.15776,
    "h": 268.3
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#2940A0
secondary
#BFAE65
accent
#C445E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2940A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2940A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva