#2843AE#2843AE

#2843AE is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.173 H 267.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2843AE
RGBrgb(40, 67, 174)
HSLhsl(228, 63%, 42%)
HSVhsv(228, 77%, 68%)
CMYKcmyk(77%, 61.5%, 0%, 31.8%)
CIE-LABlab(32.96, 29.01, -59.93)
CIE-LCHlch(32.96, 66.58, 295.83°)
OKLaboklab(43.32% -0.0075 -0.1732)
OKLCHoklch(43.32% 0.173 267.5)
XYZxyz(10.5195, 7.5202, 40.9333)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2843AE #AE9328
analogous
#2886AE #2843AE #5028AE
triadic
#2843AE #AE2843 #43AE28
tetradic
#2843AE #AE2886 #AE9328 #28AE50
square
#2843AE #AE2886 #AE9328 #28AE50
split-complementary
#2843AE #AE5028 #86AE28
monochromatic
#111D4A #1D307C #2843AE #405ED3 #7288DF

Accessibility & contrast

On white

8.39
#2843AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2843AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2843AE#FFFFFF#000000##FFFFFF
##2843AE1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2843ae;
/* rgb */ color: rgb(40, 67, 174);
/* oklch */ color: oklch(43.3% 0.173 267.5);
Tailwind
colors: {
  custom: {
    50: '#7776c7',
    500: '#2843ae',
    950: '#000000',
  },
}
SCSS
$custom: #2843ae;
$custom-light: #7776c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2843ae",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 227.91,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.17336,
    "h": 267.5
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#2843AE
secondary
#C6B46C
accent
#C542E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2843AE

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

Preview Lab → · Contrast checker → · Palette generator →

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