#2849B1#2849B1

#2849B1 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.170 H 266.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2849B1
RGBrgb(40, 73, 177)
HSLhsl(226, 63%, 43%)
HSVhsv(226, 77%, 69%)
CMYKcmyk(77.4%, 58.8%, 0%, 30.6%)
CIE-LABlab(34.78, 26.18, -58.74)
CIE-LCHlch(34.78, 64.31, 294.02°)
OKLaboklab(44.75% -0.0115 -0.1696)
OKLCHoklch(44.75% 0.17 266.1)
XYZxyz(11.1906, 8.3893, 42.6160)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849B1 #B19028
analogous
#288EB1 #2849B1 #4B28B1
triadic
#2849B1 #B12849 #49B128
tetradic
#2849B1 #B1288E #B19028 #28B14B
square
#2849B1 #B1288E #B19028 #28B14B
split-complementary
#2849B1 #B14B28 #8EB128
monochromatic
#11204D #1D347F #2849B1 #4265D4 #748EE0

Accessibility & contrast

On white

7.84
#2849B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2849B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849B1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849B1#FFFFFF#000000##FFFFFF
##2849B11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2849b1;
/* rgb */ color: rgb(40, 73, 177);
/* oklch */ color: oklch(44.8% 0.170 266.1);
Tailwind
colors: {
  custom: {
    50: '#777bc9',
    500: '#2849b1',
    950: '#000000',
  },
}
SCSS
$custom: #2849b1;
$custom-light: #777bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2849b1",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 225.547,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.17004,
    "h": 266.1
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#2849B1
secondary
#C7B16E
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2849B1

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

Preview Lab → · Contrast checker → · Palette generator →

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