#2849AB#2849AB

#2849AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.162 H 265.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2849AB
RGBrgb(40, 73, 171)
HSLhsl(225, 62%, 41%)
HSVhsv(225, 77%, 67%)
CMYKcmyk(76.6%, 57.3%, 0%, 32.9%)
CIE-LABlab(34.30, 23.89, -55.95)
CIE-LCHlch(34.30, 60.84, 293.12°)
OKLaboklab(44.25% -0.0118 -0.1614)
OKLCHoklch(44.25% 0.162 265.8)
XYZxyz(10.6057, 8.1553, 39.5354)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849AB #AB8A28
analogous
#288BAB #2849AB #4828AB
triadic
#2849AB #AB2849 #49AB28
tetradic
#2849AB #AB288B #AB8A28 #28AB48
square
#2849AB #AB288B #AB8A28 #28AB48
split-complementary
#2849AB #AB4828 #8BAB28
monochromatic
#111F48 #1C3479 #2849AB #3E63D2 #708CDE

Accessibility & contrast

On white

7.98
#2849AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2849AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849AB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849AB#FFFFFF#000000##FFFFFF
##2849AB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2849ab;
/* rgb */ color: rgb(40, 73, 171);
/* oklch */ color: oklch(44.2% 0.162 265.8);
Tailwind
colors: {
  custom: {
    50: '#767bc5',
    500: '#2849ab',
    950: '#000000',
  },
}
SCSS
$custom: #2849ab;
$custom-light: #767bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2849ab",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 224.885,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44246,
    "c": 0.16188,
    "h": 265.8
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#2849AB
secondary
#C4AE6A
accent
#BC43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2849AB

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

Preview Lab → · Contrast checker → · Palette generator →

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