#2843A3#2843A3

#2843A3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.158 H 267.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2843A3
RGBrgb(40, 67, 163)
HSLhsl(227, 61%, 40%)
HSVhsv(227, 75%, 64%)
CMYKcmyk(75.5%, 58.9%, 0%, 36.1%)
CIE-LABlab(32.05, 24.84, -54.82)
CIE-LCHlch(32.05, 60.19, 294.38°)
OKLaboklab(42.36% -0.0077 -0.1582)
OKLCHoklch(42.36% 0.158 267.2)
XYZxyz(9.4908, 7.1087, 35.5152)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2843A3 #A38828
analogous
#2881A3 #2843A3 #4A28A3
triadic
#2843A3 #A32843 #43A328
tetradic
#2843A3 #A32881 #A38828 #28A34A
square
#2843A3 #A32881 #A38828 #28A34A
split-complementary
#2843A3 #A34A28 #81A328
monochromatic
#101B41 #1C2F72 #2843A3 #3A5ACF #6B83DB

Accessibility & contrast

On white

8.67
#2843A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2843A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2843A3#FFFFFF#000000##FFFFFF
##2843A31.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2843a3;
/* rgb */ color: rgb(40, 67, 163);
/* oklch */ color: oklch(42.4% 0.158 267.2);
Tailwind
colors: {
  custom: {
    50: '#7476bf',
    500: '#2843a3',
    950: '#000000',
  },
}
SCSS
$custom: #2843a3;
$custom-light: #7476bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2843a3",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 226.829,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.15841,
    "h": 267.2
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#2843A3
secondary
#C1AD66
accent
#C144E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2843A3

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

Preview Lab → · Contrast checker → · Palette generator →

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