#2945AF#2945AF

#2945AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.172 H 267.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2945AF
RGBrgb(41, 69, 175)
HSLhsl(227, 62%, 42%)
HSVhsv(227, 77%, 69%)
CMYKcmyk(76.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(33.61, 28.18, -59.47)
CIE-LCHlch(33.61, 65.80, 295.36°)
OKLaboklab(43.84% -0.008 -0.1718)
OKLCHoklch(43.84% 0.172 267.3)
XYZxyz(10.7777, 7.8216, 41.4908)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2945AF #AF9329
analogous
#2988AF #2945AF #5029AF
triadic
#2945AF #AF2945 #45AF29
tetradic
#2945AF #AF2988 #AF9329 #29AF50
square
#2945AF #AF2988 #AF9329 #29AF50
split-complementary
#2945AF #AF5029 #88AF29
monochromatic
#121E4C #1D317D #2945AF #4261D3 #748ADE

Accessibility & contrast

On white

8.19
#2945AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2945AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2945AF#FFFFFF#000000##FFFFFF
##2945AF1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2945af;
/* rgb */ color: rgb(41, 69, 175);
/* oklch */ color: oklch(43.8% 0.172 267.3);
Tailwind
colors: {
  custom: {
    50: '#7778c8',
    500: '#2945af',
    950: '#000000',
  },
}
SCSS
$custom: #2945af;
$custom-light: #7778c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2945af",
  "rgb": {
    "r": 41,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 227.463,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.172,
    "h": 267.3
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#2945AF
secondary
#C6B36E
accent
#C343E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2945AF

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

Preview Lab → · Contrast checker → · Palette generator →

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