#2849A5#2849A5

#2849A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.154 H 265.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2849A5
RGBrgb(40, 73, 165)
HSLhsl(224, 61%, 40%)
HSVhsv(224, 76%, 65%)
CMYKcmyk(75.8%, 55.8%, 0%, 35.3%)
CIE-LABlab(33.84, 21.58, -53.12)
CIE-LCHlch(33.84, 57.34, 292.11°)
OKLaboklab(43.75% -0.0121 -0.1531)
OKLCHoklch(43.75% 0.154 265.5)
XYZxyz(10.0468, 7.9317, 36.5915)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849A5 #A58428
analogous
#2887A5 #2849A5 #4528A5
triadic
#2849A5 #A52849 #49A528
tetradic
#2849A5 #A52887 #A58428 #28A545
square
#2849A5 #A52887 #A58428 #28A545
split-complementary
#2849A5 #A54528 #87A528
monochromatic
#101D42 #1C3374 #2849A5 #3B62CF #6C89DB

Accessibility & contrast

On white

8.12
#2849A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2849A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849A5
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849A5#FFFFFF#000000##FFFFFF
##2849A51.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2849a5;
/* rgb */ color: rgb(40, 73, 165);
/* oklch */ color: oklch(43.8% 0.154 265.5);
Tailwind
colors: {
  custom: {
    50: '#747bc0',
    500: '#2849a5',
    950: '#000000',
  },
}
SCSS
$custom: #2849a5;
$custom-light: #747bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2849a5",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 165
  },
  "hsl": {
    "h": 224.16,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.1536,
    "h": 265.5
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#2849A5
secondary
#C2AA67
accent
#BA44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2849A5

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

Preview Lab → · Contrast checker → · Palette generator →

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