#2849B6#2849B6

#2849B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.177 H 266.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2849B6
RGBrgb(40, 73, 182)
HSLhsl(226, 64%, 44%)
HSVhsv(226, 78%, 71%)
CMYKcmyk(78%, 59.9%, 0%, 28.6%)
CIE-LABlab(35.19, 28.08, -61.04)
CIE-LCHlch(35.19, 67.19, 294.70°)
OKLaboklab(45.18% -0.0114 -0.1764)
OKLCHoklch(45.18% 0.177 266.3)
XYZxyz(11.6981, 8.5923, 45.2888)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849B6 #B69528
analogous
#2890B6 #2849B6 #4E28B6
triadic
#2849B6 #B62849 #49B628
tetradic
#2849B6 #B62890 #B69528 #28B64E
square
#2849B6 #B62890 #B69528 #28B64E
split-complementary
#2849B6 #B64E28 #90B628
monochromatic
#122152 #1D3584 #2849B6 #4567D6 #7790E1

Accessibility & contrast

On white

7.72
#2849B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2849B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849B6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849B6#FFFFFF#000000##FFFFFF
##2849B61.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2849b6;
/* rgb */ color: rgb(40, 73, 182);
/* oklch */ color: oklch(45.2% 0.177 266.3);
Tailwind
colors: {
  custom: {
    50: '#797bcd',
    500: '#2849b6',
    950: '#000000',
  },
}
SCSS
$custom: #2849b6;
$custom-light: #797bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2849b6",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 182
  },
  "hsl": {
    "h": 226.056,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.17676,
    "h": 266.3
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#2849B6
secondary
#C9B471
accent
#C041E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2849B6

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

Preview Lab → · Contrast checker → · Palette generator →

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