#2945AA#2945AA

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

Color values

HEX#2945AA
RGBrgb(41, 69, 170)
HSLhsl(227, 61%, 41%)
HSVhsv(227, 76%, 67%)
CMYKcmyk(75.9%, 59.4%, 0%, 33.3%)
CIE-LABlab(33.20, 26.29, -57.15)
CIE-LCHlch(33.20, 62.91, 294.70°)
OKLaboklab(43.4% -0.0081 -0.165)
OKLCHoklch(43.4% 0.165 267.2)
XYZxyz(10.2957, 7.6288, 38.9523)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2945AA #AA8E29
analogous
#2986AA #2945AA #4E29AA
triadic
#2945AA #AA2945 #45AA29
tetradic
#2945AA #AA2986 #AA8E29 #29AA4E
square
#2945AA #AA2986 #AA8E29 #29AA4E
split-complementary
#2945AA #AA4E29 #86AA29
monochromatic
#111D47 #1D3179 #2945AA #3F5FD1 #7188DD

Accessibility & contrast

On white

8.31
#2945AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2945AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2945AA#FFFFFF#000000##FFFFFF
##2945AA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2945aa;
/* rgb */ color: rgb(41, 69, 170);
/* oklch */ color: oklch(43.4% 0.165 267.2);
Tailwind
colors: {
  custom: {
    50: '#7678c4',
    500: '#2945aa',
    950: '#000000',
  },
}
SCSS
$custom: #2945aa;
$custom-light: #7678c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2945aa",
  "rgb": {
    "r": 41,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 226.977,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.16522,
    "h": 267.2
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2945AA

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

Preview Lab → · Contrast checker → · Palette generator →

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