#2849A7#2849A7

#2849A7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.156 H 265.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2849A7
RGBrgb(40, 73, 167)
HSLhsl(224, 61%, 41%)
HSVhsv(224, 76%, 65%)
CMYKcmyk(76%, 56.3%, 0%, 34.5%)
CIE-LABlab(33.99, 22.35, -54.07)
CIE-LCHlch(33.99, 58.51, 292.46°)
OKLaboklab(43.92% -0.012 -0.1559)
OKLCHoklch(43.92% 0.156 265.6)
XYZxyz(10.2302, 8.0051, 37.5577)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849A7 #A78628
analogous
#2889A7 #2849A7 #4628A7
triadic
#2849A7 #A72849 #49A728
tetradic
#2849A7 #A72889 #A78628 #28A746
square
#2849A7 #A72889 #A78628 #28A746
split-complementary
#2849A7 #A74628 #89A728
monochromatic
#101E44 #1C3376 #2849A7 #3C62D0 #6D8ADC

Accessibility & contrast

On white

8.07
#2849A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2849A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849A7
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849A7#FFFFFF#000000##FFFFFF
##2849A71.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2849a7;
/* rgb */ color: rgb(40, 73, 167);
/* oklch */ color: oklch(43.9% 0.156 265.6);
Tailwind
colors: {
  custom: {
    50: '#757bc2',
    500: '#2849a7',
    950: '#000000',
  },
}
SCSS
$custom: #2849a7;
$custom-light: #757bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2849a7",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 167
  },
  "hsl": {
    "h": 224.409,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43915,
    "c": 0.15637,
    "h": 265.6
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#2849A7
secondary
#C3AB68
accent
#BB43E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2849A7

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

Preview Lab → · Contrast checker → · Palette generator →

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