#2848AE#2848AE

#2848AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.167 H 266.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2848AE
RGBrgb(40, 72, 174)
HSLhsl(226, 63%, 42%)
HSVhsv(226, 77%, 68%)
CMYKcmyk(77%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.27, 25.70, -57.79)
CIE-LCHlch(34.27, 63.24, 293.98°)
OKLaboklab(44.3% -0.0109 -0.1669)
OKLCHoklch(44.3% 0.167 266.3)
XYZxyz(10.8297, 8.1406, 41.0367)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848AE #AE8E28
analogous
#288BAE #2848AE #4B28AE
triadic
#2848AE #AE2848 #48AE28
tetradic
#2848AE #AE288B #AE8E28 #28AE4B
square
#2848AE #AE288B #AE8E28 #28AE4B
split-complementary
#2848AE #AE4B28 #8BAE28
monochromatic
#111F4A #1D337C #2848AE #4063D3 #728CDF

Accessibility & contrast

On white

7.99
#2848AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2848AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848AE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848AE#FFFFFF#000000##FFFFFF
##2848AE1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2848ae;
/* rgb */ color: rgb(40, 72, 174);
/* oklch */ color: oklch(44.3% 0.167 266.3);
Tailwind
colors: {
  custom: {
    50: '#777ac7',
    500: '#2848ae',
    950: '#000000',
  },
}
SCSS
$custom: #2848ae;
$custom-light: #777ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2848ae",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 225.672,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44298,
    "c": 0.16722,
    "h": 266.3
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#2848AE
secondary
#C6B06C
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848AE

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

Preview Lab → · Contrast checker → · Palette generator →

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