#2945A3#2945A3

#2945A3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.156 H 266.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2945A3
RGBrgb(41, 69, 163)
HSLhsl(226, 60%, 40%)
HSVhsv(226, 75%, 64%)
CMYKcmyk(74.8%, 57.7%, 0%, 36.1%)
CIE-LABlab(32.64, 23.62, -53.87)
CIE-LCHlch(32.64, 58.82, 293.68°)
OKLaboklab(42.81% -0.0083 -0.1554)
OKLCHoklch(42.81% 0.156 266.9)
XYZxyz(9.6511, 7.3710, 35.5573)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2945A3 #A38729
analogous
#2982A3 #2945A3 #4A29A3
triadic
#2945A3 #A32945 #45A329
tetradic
#2945A3 #A32982 #A38729 #29A34A
square
#2945A3 #A32982 #A38729 #29A34A
split-complementary
#2945A3 #A34A29 #82A329
monochromatic
#101C41 #1D3072 #2945A3 #3B5DCE #6C85DA

Accessibility & contrast

On white

8.49
#2945A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2945A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2945A3
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2945A3#FFFFFF#000000##FFFFFF
##2945A31.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2945a3;
/* rgb */ color: rgb(41, 69, 163);
/* oklch */ color: oklch(42.8% 0.156 266.9);
Tailwind
colors: {
  custom: {
    50: '#7578bf',
    500: '#2945a3',
    950: '#000000',
  },
}
SCSS
$custom: #2945a3;
$custom-light: #7578bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2945a3",
  "rgb": {
    "r": 41,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 226.23,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.1556,
    "h": 266.9
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#2945A3
secondary
#C1AC67
accent
#BF45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2945A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2945A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva