#2945B3#2945B3

#2945B3 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.177 H 267.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2945B3
RGBrgb(41, 69, 179)
HSLhsl(228, 63%, 43%)
HSVhsv(228, 77%, 70%)
CMYKcmyk(77.1%, 61.5%, 0%, 29.8%)
CIE-LABlab(33.94, 29.68, -61.29)
CIE-LCHlch(33.94, 68.10, 295.84°)
OKLaboklab(44.19% -0.008 -0.1772)
OKLCHoklch(44.19% 0.177 267.4)
XYZxyz(11.1764, 7.9811, 43.5906)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2945B3 #B39729
analogous
#298AB3 #2945B3 #5229B3
triadic
#2945B3 #B32945 #45B329
tetradic
#2945B3 #B3298A #B39729 #29B352
square
#2945B3 #B3298A #B39729 #29B352
split-complementary
#2945B3 #B35229 #8AB329
monochromatic
#121F4F #1E3281 #2945B3 #4562D4 #778CE0

Accessibility & contrast

On white

8.09
#2945B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2945B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2945B3#FFFFFF#000000##FFFFFF
##2945B31.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2945b3;
/* rgb */ color: rgb(41, 69, 179);
/* oklch */ color: oklch(44.2% 0.177 267.4);
Tailwind
colors: {
  custom: {
    50: '#7878cb',
    500: '#2945b3',
    950: '#000000',
  },
}
SCSS
$custom: #2945b3;
$custom-light: #7878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2945b3",
  "rgb": {
    "r": 41,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 227.826,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.17735,
    "h": 267.4
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#2945B3
secondary
#C7B670
accent
#C542E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2945B3

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

Preview Lab → · Contrast checker → · Palette generator →

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