#2849AC#2849AC

#2849AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.163 H 265.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2849AC
RGBrgb(40, 73, 172)
HSLhsl(225, 62%, 42%)
HSVhsv(225, 77%, 67%)
CMYKcmyk(76.7%, 57.6%, 0%, 32.5%)
CIE-LABlab(34.38, 24.27, -56.42)
CIE-LCHlch(34.38, 61.42, 293.28°)
OKLaboklab(44.33% -0.0117 -0.1628)
OKLCHoklch(44.33% 0.163 265.9)
XYZxyz(10.7014, 8.1936, 40.0392)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849AC #AC8B28
analogous
#288BAC #2849AC #4928AC
triadic
#2849AC #AC2849 #49AC28
tetradic
#2849AC #AC288B #AC8B28 #28AC49
square
#2849AC #AC288B #AC8B28 #28AC49
split-complementary
#2849AC #AC4928 #8BAC28
monochromatic
#111F49 #1C347A #2849AC #3F64D2 #718CDE

Accessibility & contrast

On white

7.96
#2849AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2849AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849AC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849AC#FFFFFF#000000##FFFFFF
##2849AC1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2849ac;
/* rgb */ color: rgb(40, 73, 172);
/* oklch */ color: oklch(44.3% 0.163 265.9);
Tailwind
colors: {
  custom: {
    50: '#767bc5',
    500: '#2849ac',
    950: '#000000',
  },
}
SCSS
$custom: #2849ac;
$custom-light: #767bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2849ac",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 225,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.16324,
    "h": 265.9
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#2849AC
secondary
#C5AE6B
accent
#BD42E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2849AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2849AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva