#2849A8#2849A8

#2849A8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.158 H 265.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2849A8
RGBrgb(40, 73, 168)
HSLhsl(225, 62%, 41%)
HSVhsv(225, 76%, 66%)
CMYKcmyk(76.2%, 56.5%, 0%, 34.1%)
CIE-LABlab(34.07, 22.74, -54.54)
CIE-LCHlch(34.07, 59.09, 292.63°)
OKLaboklab(44% -0.0119 -0.1573)
OKLCHoklch(44% 0.158 265.7)
XYZxyz(10.3230, 8.0422, 38.0464)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849A8 #A88728
analogous
#2889A8 #2849A8 #4728A8
triadic
#2849A8 #A82849 #49A828
tetradic
#2849A8 #A82889 #A88728 #28A847
square
#2849A8 #A82889 #A88728 #28A847
split-complementary
#2849A8 #A84728 #89A828
monochromatic
#101E45 #1C3477 #2849A8 #3D63D1 #6E8ADC

Accessibility & contrast

On white

8.05
#2849A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2849A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849A8
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849A8#FFFFFF#000000##FFFFFF
##2849A81.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2849a8;
/* rgb */ color: rgb(40, 73, 168);
/* oklch */ color: oklch(44.0% 0.158 265.7);
Tailwind
colors: {
  custom: {
    50: '#757bc3',
    500: '#2849a8',
    950: '#000000',
  },
}
SCSS
$custom: #2849a8;
$custom-light: #757bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2849a8",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 168
  },
  "hsl": {
    "h": 224.531,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43997,
    "c": 0.15775,
    "h": 265.7
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#2849A8
secondary
#C3AC69
accent
#BB43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2849A8

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

Preview Lab → · Contrast checker → · Palette generator →

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