#2945A5#2945A5

#2945A5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.158 H 267.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2945A5
RGBrgb(41, 69, 165)
HSLhsl(226, 60%, 40%)
HSVhsv(226, 75%, 65%)
CMYKcmyk(75.2%, 58.2%, 0%, 35.3%)
CIE-LABlab(32.80, 24.39, -54.81)
CIE-LCHlch(32.80, 59.99, 293.98°)
OKLaboklab(42.98% -0.0082 -0.1582)
OKLCHoklch(42.98% 0.158 267)
XYZxyz(9.8317, 7.4432, 36.5085)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2945A5 #A58929
analogous
#2983A5 #2945A5 #4B29A5
triadic
#2945A5 #A52945 #45A529
tetradic
#2945A5 #A52983 #A58929 #29A54B
square
#2945A5 #A52983 #A58929 #29A54B
split-complementary
#2945A5 #A54B29 #83A529
monochromatic
#111C43 #1D3174 #2945A5 #3D5ECF #6E86DB

Accessibility & contrast

On white

8.44
#2945A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2945A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2945A5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2945A5#FFFFFF#000000##FFFFFF
##2945A51.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2945a5;
/* rgb */ color: rgb(41, 69, 165);
/* oklch */ color: oklch(43.0% 0.158 267.0);
Tailwind
colors: {
  custom: {
    50: '#7578c0',
    500: '#2945a5',
    950: '#000000',
  },
}
SCSS
$custom: #2945a5;
$custom-light: #7578c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2945a5",
  "rgb": {
    "r": 41,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 226.452,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.15836,
    "h": 267
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#2945A5
secondary
#C2AD68
accent
#BF44E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2945A5

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

Preview Lab → · Contrast checker → · Palette generator →

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