#2848AA#2848AA

#2848AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.162 H 266.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2848AA
RGBrgb(40, 72, 170)
HSLhsl(225, 62%, 41%)
HSVhsv(225, 76%, 67%)
CMYKcmyk(76.5%, 57.6%, 0%, 33.3%)
CIE-LABlab(33.96, 24.17, -55.92)
CIE-LCHlch(33.96, 60.92, 293.38°)
OKLaboklab(43.96% -0.0111 -0.1614)
OKLCHoklch(43.96% 0.162 266.1)
XYZxyz(10.4456, 7.9870, 39.0135)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848AA #AA8A28
analogous
#2889AA #2848AA #4928AA
triadic
#2848AA #AA2848 #48AA28
tetradic
#2848AA #AA2889 #AA8A28 #28AA49
square
#2848AA #AA2889 #AA8A28 #28AA49
split-complementary
#2848AA #AA4928 #89AA28
monochromatic
#111E47 #1C3378 #2848AA #3E62D2 #6F8ADD

Accessibility & contrast

On white

8.08
#2848AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2848AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2848AA#FFFFFF#000000##FFFFFF
##2848AA1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2848aa;
/* rgb */ color: rgb(40, 72, 170);
/* oklch */ color: oklch(44.0% 0.162 266.1);
Tailwind
colors: {
  custom: {
    50: '#767ac4',
    500: '#2848aa',
    950: '#000000',
  },
}
SCSS
$custom: #2848aa;
$custom-light: #767ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2848aa",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 225.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4396,
    "c": 0.16176,
    "h": 266.1
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#2848AA
secondary
#C4AE6A
accent
#BD43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848AA

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

Preview Lab → · Contrast checker → · Palette generator →

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