#2849A4#2849A4

#2849A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.152 H 265.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2849A4
RGBrgb(40, 73, 164)
HSLhsl(224, 61%, 40%)
HSVhsv(224, 76%, 64%)
CMYKcmyk(75.6%, 55.5%, 0%, 35.7%)
CIE-LABlab(33.76, 21.20, -52.64)
CIE-LCHlch(33.76, 56.75, 291.93°)
OKLaboklab(43.67% -0.0122 -0.1517)
OKLCHoklch(43.67% 0.152 265.4)
XYZxyz(9.9561, 7.8954, 36.1140)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849A4 #A48328
analogous
#2887A4 #2849A4 #4528A4
triadic
#2849A4 #A42849 #49A428
tetradic
#2849A4 #A42887 #A48328 #28A445
square
#2849A4 #A42887 #A48328 #28A445
split-complementary
#2849A4 #A44528 #87A428
monochromatic
#101D42 #1C3373 #2849A4 #3A62CF #6B89DB

Accessibility & contrast

On white

8.14
#2849A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2849A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849A4
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849A4#FFFFFF#000000##FFFFFF
##2849A41.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2849a4;
/* rgb */ color: rgb(40, 73, 164);
/* oklch */ color: oklch(43.7% 0.152 265.4);
Tailwind
colors: {
  custom: {
    50: '#747bc0',
    500: '#2849a4',
    950: '#000000',
  },
}
SCSS
$custom: #2849a4;
$custom-light: #747bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2849a4",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 164
  },
  "hsl": {
    "h": 224.032,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.15221,
    "h": 265.4
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#2849A4
secondary
#C1A966
accent
#B944E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2849A4

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

Preview Lab → · Contrast checker → · Palette generator →

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