#2946AB#2946AB

#2946AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.165 H 267.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2946AB
RGBrgb(41, 70, 171)
HSLhsl(227, 61%, 42%)
HSVhsv(227, 76%, 67%)
CMYKcmyk(76%, 59.1%, 0%, 32.9%)
CIE-LABlab(33.54, 26.00, -57.19)
CIE-LCHlch(33.54, 62.82, 294.45°)
OKLaboklab(43.69% -0.0088 -0.1651)
OKLCHoklch(43.69% 0.165 267)
XYZxyz(10.4527, 7.7909, 39.4731)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2946AB #AB8E29
analogous
#2987AB #2946AB #4D29AB
triadic
#2946AB #AB2946 #46AB29
tetradic
#2946AB #AB2987 #AB8E29 #29AB4D
square
#2946AB #AB2987 #AB8E29 #29AB4D
split-complementary
#2946AB #AB4D29 #87AB29
monochromatic
#111E48 #1D327A #2946AB #4060D1 #7189DD

Accessibility & contrast

On white

8.21
#2946AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2946AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2946AB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2946AB#FFFFFF#000000##FFFFFF
##2946AB1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2946ab;
/* rgb */ color: rgb(41, 70, 171);
/* oklch */ color: oklch(43.7% 0.165 267.0);
Tailwind
colors: {
  custom: {
    50: '#7679c5',
    500: '#2946ab',
    950: '#000000',
  },
}
SCSS
$custom: #2946ab;
$custom-light: #7679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2946ab",
  "rgb": {
    "r": 41,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 226.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43688,
    "c": 0.16534,
    "h": 267
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#2946AB
secondary
#C4B06C
accent
#C043E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2946AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2946AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva