#2945A9#2945A9

#2945A9 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.164 H 267.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2945A9
RGBrgb(41, 69, 169)
HSLhsl(227, 61%, 41%)
HSVhsv(227, 76%, 66%)
CMYKcmyk(75.7%, 59.2%, 0%, 33.7%)
CIE-LABlab(33.12, 25.91, -56.69)
CIE-LCHlch(33.12, 62.33, 294.56°)
OKLaboklab(43.32% -0.0081 -0.1637)
OKLCHoklch(43.32% 0.164 267.2)
XYZxyz(10.2015, 7.5911, 38.4560)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2945A9 #A98D29
analogous
#2985A9 #2945A9 #4D29A9
triadic
#2945A9 #A92945 #45A929
tetradic
#2945A9 #A92985 #A98D29 #29A94D
square
#2945A9 #A92985 #A98D29 #29A94D
split-complementary
#2945A9 #A94D29 #85A929
monochromatic
#111D46 #1D3178 #2945A9 #3F5FD0 #7088DC

Accessibility & contrast

On white

8.34
#2945A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2945A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2945A9
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2945A9#FFFFFF#000000##FFFFFF
##2945A91.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2945a9;
/* rgb */ color: rgb(41, 69, 169);
/* oklch */ color: oklch(43.3% 0.164 267.2);
Tailwind
colors: {
  custom: {
    50: '#7678c3',
    500: '#2945a9',
    950: '#000000',
  },
}
SCSS
$custom: #2945a9;
$custom-light: #7678c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2945a9",
  "rgb": {
    "r": 41,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 226.875,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.16386,
    "h": 267.2
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#2945A9
secondary
#C3B06A
accent
#C144E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2945A9

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

Preview Lab → · Contrast checker → · Palette generator →

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