#2849B5#2849B5

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

Color values

HEX#2849B5
RGBrgb(40, 73, 181)
HSLhsl(226, 64%, 43%)
HSVhsv(226, 78%, 71%)
CMYKcmyk(77.9%, 59.7%, 0%, 29%)
CIE-LABlab(35.11, 27.70, -60.58)
CIE-LCHlch(35.11, 66.61, 294.57°)
OKLaboklab(45.1% -0.0114 -0.175)
OKLCHoklch(45.1% 0.175 266.3)
XYZxyz(11.5952, 8.5511, 44.7465)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849B5 #B59428
analogous
#288FB5 #2849B5 #4D28B5
triadic
#2849B5 #B52849 #49B528
tetradic
#2849B5 #B5288F #B59428 #28B54D
square
#2849B5 #B5288F #B59428 #28B54D
split-complementary
#2849B5 #B54D28 #8FB528
monochromatic
#122151 #1D3583 #2849B5 #4466D6 #778FE1

Accessibility & contrast

On white

7.75
#2849B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2849B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849B5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849B5#FFFFFF#000000##FFFFFF
##2849B51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2849b5;
/* rgb */ color: rgb(40, 73, 181);
/* oklch */ color: oklch(45.1% 0.175 266.3);
Tailwind
colors: {
  custom: {
    50: '#787bcc',
    500: '#2849b5',
    950: '#000000',
  },
}
SCSS
$custom: #2849b5;
$custom-light: #787bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2849b5",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 225.957,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.17542,
    "h": 266.3
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2849B5

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

Preview Lab → · Contrast checker → · Palette generator →

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