#2849A2#2849A2

#2849A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.149 H 265.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2849A2
RGBrgb(40, 73, 162)
HSLhsl(224, 60%, 40%)
HSVhsv(224, 75%, 64%)
CMYKcmyk(75.3%, 54.9%, 0%, 36.5%)
CIE-LABlab(33.61, 20.42, -51.69)
CIE-LCHlch(33.61, 55.57, 291.56°)
OKLaboklab(43.51% -0.0123 -0.1489)
OKLCHoklch(43.51% 0.149 265.3)
XYZxyz(9.7769, 7.8238, 35.1703)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849A2 #A28128
analogous
#2886A2 #2849A2 #4428A2
triadic
#2849A2 #A22849 #49A228
tetradic
#2849A2 #A22886 #A28128 #28A244
square
#2849A2 #A22886 #A28128 #28A244
split-complementary
#2849A2 #A24428 #86A228
monochromatic
#101D40 #1C3371 #2849A2 #3961CE #6A88DA

Accessibility & contrast

On white

8.19
#2849A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2849A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849A2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849A2#FFFFFF#000000##FFFFFF
##2849A21.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2849a2;
/* rgb */ color: rgb(40, 73, 162);
/* oklch */ color: oklch(43.5% 0.149 265.3);
Tailwind
colors: {
  custom: {
    50: '#747bbe',
    500: '#2849a2',
    950: '#000000',
  },
}
SCSS
$custom: #2849a2;
$custom-light: #747bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2849a2",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 223.77,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43508,
    "c": 0.14942,
    "h": 265.3
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#2849A2
secondary
#C1A865
accent
#B844E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2849A2

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

Preview Lab → · Contrast checker → · Palette generator →

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