#2849BA#2849BA

#2849BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.182 H 266.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2849BA
RGBrgb(40, 73, 186)
HSLhsl(226, 65%, 44%)
HSVhsv(226, 78%, 73%)
CMYKcmyk(78.5%, 60.8%, 0%, 27.1%)
CIE-LABlab(35.52, 29.59, -62.86)
CIE-LCHlch(35.52, 69.47, 295.21°)
OKLaboklab(45.53% -0.0113 -0.1817)
OKLCHoklch(45.53% 0.182 266.4)
XYZxyz(12.1174, 8.7600, 47.4971)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849BA #BA9928
analogous
#2892BA #2849BA #5028BA
triadic
#2849BA #BA2849 #49BA28
tetradic
#2849BA #BA2892 #BA9928 #28BA50
square
#2849BA #BA2892 #BA9928 #28BA50
split-complementary
#2849BA #BA5028 #92BA28
monochromatic
#122155 #1D3588 #2849BA #4868D8 #7A92E2

Accessibility & contrast

On white

7.63
#2849BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2849BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849BA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849BA#FFFFFF#000000##FFFFFF
##2849BA1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2849ba;
/* rgb */ color: rgb(40, 73, 186);
/* oklch */ color: oklch(45.5% 0.182 266.4);
Tailwind
colors: {
  custom: {
    50: '#7a7bd0',
    500: '#2849ba',
    950: '#000000',
  },
}
SCSS
$custom: #2849ba;
$custom-light: #7a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2849ba",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 226.438,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.18207,
    "h": 266.4
  },
  "luminance": 0.08761
}

Semantic roles & 50–950 ramp

primary
#2849BA
secondary
#CAB773
accent
#C240E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2849BA

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

Preview Lab → · Contrast checker → · Palette generator →

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