#2945A0#2945A0

#2945A0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.151 H 266.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2945A0
RGBrgb(41, 69, 160)
HSLhsl(226, 59%, 39%)
HSVhsv(226, 74%, 63%)
CMYKcmyk(74.4%, 56.9%, 0%, 37.3%)
CIE-LABlab(32.40, 22.48, -52.45)
CIE-LCHlch(32.40, 57.06, 293.20°)
OKLaboklab(42.56% -0.0085 -0.1512)
OKLCHoklch(42.56% 0.151 266.8)
XYZxyz(9.3855, 7.2647, 34.1585)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2945A0 #A08429
analogous
#2981A0 #2945A0 #4829A0
triadic
#2945A0 #A02945 #45A029
tetradic
#2945A0 #A02981 #A08429 #29A048
square
#2945A0 #A02981 #A08429 #29A048
split-complementary
#2945A0 #A04829 #81A029
monochromatic
#101B3F #1D306F #2945A0 #3A5CCC #6A84D9

Accessibility & contrast

On white

8.56
#2945A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2945A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2945A0
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2945A0#FFFFFF#000000##FFFFFF
##2945A01.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2945a0;
/* rgb */ color: rgb(41, 69, 160);
/* oklch */ color: oklch(42.6% 0.151 266.8);
Tailwind
colors: {
  custom: {
    50: '#7478bd',
    500: '#2945a0',
    950: '#000000',
  },
}
SCSS
$custom: #2945a0;
$custom-light: #7478bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2945a0",
  "rgb": {
    "r": 41,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 225.882,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.15142,
    "h": 266.8
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#2945A0
secondary
#BFAA65
accent
#BD45E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2945A0

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

Preview Lab → · Contrast checker → · Palette generator →

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