#2849B3#2849B3

#2849B3 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.173 H 266.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2849B3
RGBrgb(40, 73, 179)
HSLhsl(226, 63%, 43%)
HSVhsv(226, 78%, 70%)
CMYKcmyk(77.7%, 59.2%, 0%, 29.8%)
CIE-LABlab(34.94, 26.94, -59.67)
CIE-LCHlch(34.94, 65.47, 294.30°)
OKLaboklab(44.92% -0.0114 -0.1724)
OKLCHoklch(44.92% 0.173 266.2)
XYZxyz(11.3914, 8.4696, 43.6735)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849B3 #B39228
analogous
#288FB3 #2849B3 #4C28B3
triadic
#2849B3 #B32849 #49B328
tetradic
#2849B3 #B3288F #B39228 #28B34C
square
#2849B3 #B3288F #B39228 #28B34C
split-complementary
#2849B3 #B34C28 #8FB328
monochromatic
#12204F #1D3581 #2849B3 #4366D5 #758FE0

Accessibility & contrast

On white

7.79
#2849B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2849B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849B3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849B3#FFFFFF#000000##FFFFFF
##2849B31.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2849b3;
/* rgb */ color: rgb(40, 73, 179);
/* oklch */ color: oklch(44.9% 0.173 266.2);
Tailwind
colors: {
  custom: {
    50: '#787bcb',
    500: '#2849b3',
    950: '#000000',
  },
}
SCSS
$custom: #2849b3;
$custom-light: #787bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2849b3",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 225.755,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44924,
    "c": 0.17274,
    "h": 266.2
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#2849B3
secondary
#C8B36F
accent
#BF41E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2849B3

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

Preview Lab → · Contrast checker → · Palette generator →

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