#2849AE#2849AE

#2849AE is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.166 H 266.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2849AE
RGBrgb(40, 73, 174)
HSLhsl(225, 63%, 42%)
HSVhsv(225, 77%, 68%)
CMYKcmyk(77%, 58%, 0%, 31.8%)
CIE-LABlab(34.54, 25.03, -57.35)
CIE-LCHlch(34.54, 62.58, 293.58°)
OKLaboklab(44.5% -0.0116 -0.1656)
OKLCHoklch(44.5% 0.166 266)
XYZxyz(10.8949, 8.2710, 41.0585)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849AE #AE8D28
analogous
#288CAE #2849AE #4A28AE
triadic
#2849AE #AE2849 #49AE28
tetradic
#2849AE #AE288C #AE8D28 #28AE4A
square
#2849AE #AE288C #AE8D28 #28AE4A
split-complementary
#2849AE #AE4A28 #8CAE28
monochromatic
#111F4A #1D347C #2849AE #4064D3 #728DDF

Accessibility & contrast

On white

7.91
#2849AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2849AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849AE
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849AE#FFFFFF#000000##FFFFFF
##2849AE1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2849ae;
/* rgb */ color: rgb(40, 73, 174);
/* oklch */ color: oklch(44.5% 0.166 266.0);
Tailwind
colors: {
  custom: {
    50: '#777bc7',
    500: '#2849ae',
    950: '#000000',
  },
}
SCSS
$custom: #2849ae;
$custom-light: #777bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2849ae",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 225.224,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.16597,
    "h": 266
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#2849AE
secondary
#C6B06C
accent
#BD42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2849AE

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

Preview Lab → · Contrast checker → · Palette generator →

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