#2843AB#2843AB

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

Color values

HEX#2843AB
RGBrgb(40, 67, 171)
HSLhsl(228, 62%, 41%)
HSVhsv(228, 77%, 67%)
CMYKcmyk(76.6%, 60.8%, 0%, 32.9%)
CIE-LABlab(32.71, 27.88, -58.55)
CIE-LCHlch(32.71, 64.85, 295.46°)
OKLaboklab(43.06% -0.0075 -0.1692)
OKLCHoklch(43.06% 0.169 267.4)
XYZxyz(10.2304, 7.4046, 39.4102)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2843AB #AB9028
analogous
#2885AB #2843AB #4F28AB
triadic
#2843AB #AB2843 #43AB28
tetradic
#2843AB #AB2885 #AB9028 #28AB4F
square
#2843AB #AB2885 #AB9028 #28AB4F
split-complementary
#2843AB #AB4F28 #85AB28
monochromatic
#111C48 #1C3079 #2843AB #3E5DD2 #7086DE

Accessibility & contrast

On white

8.46
#2843AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2843AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2843AB#FFFFFF#000000##FFFFFF
##2843AB1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2843ab;
/* rgb */ color: rgb(40, 67, 171);
/* oklch */ color: oklch(43.1% 0.169 267.4);
Tailwind
colors: {
  custom: {
    50: '#7676c5',
    500: '#2843ab',
    950: '#000000',
  },
}
SCSS
$custom: #2843ab;
$custom-light: #7676c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2843ab",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 227.634,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.16933,
    "h": 267.4
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#2843AB
secondary
#C4B26A
accent
#C443E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2843AB

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

Preview Lab → · Contrast checker → · Palette generator →

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