#2849B4#2849B4

#2849B4 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.174 H 266.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2849B4
RGBrgb(40, 73, 180)
HSLhsl(226, 64%, 43%)
HSVhsv(226, 78%, 71%)
CMYKcmyk(77.8%, 59.4%, 0%, 29.4%)
CIE-LABlab(35.02, 27.32, -60.12)
CIE-LCHlch(35.02, 66.04, 294.44°)
OKLaboklab(45.01% -0.0114 -0.1737)
OKLCHoklch(45.01% 0.174 266.2)
XYZxyz(11.4929, 8.5102, 44.2081)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849B4 #B49328
analogous
#288FB4 #2849B4 #4D28B4
triadic
#2849B4 #B42849 #49B428
tetradic
#2849B4 #B4288F #B49328 #28B44D
square
#2849B4 #B4288F #B49328 #28B44D
split-complementary
#2849B4 #B44D28 #8FB428
monochromatic
#122050 #1D3582 #2849B4 #4466D5 #768FE1

Accessibility & contrast

On white

7.77
#2849B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2849B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849B4
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849B4#FFFFFF#000000##FFFFFF
##2849B41.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2849b4;
/* rgb */ color: rgb(40, 73, 180);
/* oklch */ color: oklch(45.0% 0.174 266.2);
Tailwind
colors: {
  custom: {
    50: '#787bcb',
    500: '#2849b4',
    950: '#000000',
  },
}
SCSS
$custom: #2849b4;
$custom-light: #787bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2849b4",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 225.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.17408,
    "h": 266.2
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#2849B4
secondary
#C8B370
accent
#C041E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2849B4

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

Preview Lab → · Contrast checker → · Palette generator →

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