#2848AC#2848AC

#2848AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.164 H 266.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2848AC
RGBrgb(40, 72, 172)
HSLhsl(225, 62%, 42%)
HSVhsv(225, 77%, 67%)
CMYKcmyk(76.7%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.11, 24.94, -56.86)
CIE-LCHlch(34.11, 62.08, 293.68°)
OKLaboklab(44.13% -0.011 -0.1641)
OKLCHoklch(44.13% 0.164 266.2)
XYZxyz(10.6362, 8.0632, 40.0175)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848AC #AC8C28
analogous
#288AAC #2848AC #4A28AC
triadic
#2848AC #AC2848 #48AC28
tetradic
#2848AC #AC288A #AC8C28 #28AC4A
square
#2848AC #AC288A #AC8C28 #28AC4A
split-complementary
#2848AC #AC4A28 #8AAC28
monochromatic
#111E49 #1C337A #2848AC #3F63D2 #718BDE

Accessibility & contrast

On white

8.04
#2848AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2848AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848AC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848AC#FFFFFF#000000##FFFFFF
##2848AC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2848ac;
/* rgb */ color: rgb(40, 72, 172);
/* oklch */ color: oklch(44.1% 0.164 266.2);
Tailwind
colors: {
  custom: {
    50: '#767ac6',
    500: '#2848ac',
    950: '#000000',
  },
}
SCSS
$custom: #2848ac;
$custom-light: #767ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2848ac",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 225.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44128,
    "c": 0.16449,
    "h": 266.2
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#2848AC
secondary
#C5AF6B
accent
#BE42E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2848AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva