#2843AA#2843AA

#2843AA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.168 H 267.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2843AA
RGBrgb(40, 67, 170)
HSLhsl(228, 62%, 41%)
HSVhsv(228, 76%, 67%)
CMYKcmyk(76.5%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.63, 27.50, -58.09)
CIE-LCHlch(32.63, 64.27, 295.34°)
OKLaboklab(42.97% -0.0076 -0.1678)
OKLCHoklch(42.97% 0.168 267.4)
XYZxyz(10.1354, 7.3666, 38.9101)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2843AA #AA8F28
analogous
#2884AA #2843AA #4E28AA
triadic
#2843AA #AA2843 #43AA28
tetradic
#2843AA #AA2884 #AA8F28 #28AA4E
square
#2843AA #AA2884 #AA8F28 #28AA4E
split-complementary
#2843AA #AA4E28 #84AA28
monochromatic
#111C47 #1C2F78 #2843AA #3E5CD2 #6F86DD

Accessibility & contrast

On white

8.49
#2843AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2843AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2843AA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2843AA#FFFFFF#000000##FFFFFF
##2843AA1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2843aa;
/* rgb */ color: rgb(40, 67, 170);
/* oklch */ color: oklch(43.0% 0.168 267.4);
Tailwind
colors: {
  custom: {
    50: '#7676c4',
    500: '#2843aa',
    950: '#000000',
  },
}
SCSS
$custom: #2843aa;
$custom-light: #7676c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2843aa",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 227.538,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.16798,
    "h": 267.4
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#2843AA
secondary
#C4B16A
accent
#C343E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2843AA

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

Preview Lab → · Contrast checker → · Palette generator →

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