#2843B3#2843B3

#2843B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.180 H 267.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2843B3
RGBrgb(40, 67, 179)
HSLhsl(228, 63%, 43%)
HSVhsv(228, 78%, 70%)
CMYKcmyk(77.7%, 62.6%, 0%, 29.8%)
CIE-LABlab(33.39, 30.89, -62.20)
CIE-LCHlch(33.39, 69.45, 296.41°)
OKLaboklab(43.77% -0.0076 -0.1799)
OKLCHoklch(43.77% 0.18 267.6)
XYZxyz(11.0161, 7.7189, 43.5484)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2843B3 #B39828
analogous
#2889B3 #2843B3 #5228B3
triadic
#2843B3 #B32843 #43B328
tetradic
#2843B3 #B32889 #B39828 #28B352
square
#2843B3 #B32889 #B39828 #28B352
split-complementary
#2843B3 #B35228 #89B328
monochromatic
#121E4F #1D3081 #2843B3 #4360D5 #758AE0

Accessibility & contrast

On white

8.25
#2843B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2843B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2843B3#FFFFFF#000000##FFFFFF
##2843B31.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2843b3;
/* rgb */ color: rgb(40, 67, 179);
/* oklch */ color: oklch(43.8% 0.180 267.6);
Tailwind
colors: {
  custom: {
    50: '#7877cb',
    500: '#2843b3',
    950: '#000000',
  },
}
SCSS
$custom: #2843b3;
$custom-light: #7877cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2843b3",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 228.345,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4377,
    "c": 0.18003,
    "h": 267.6
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#2843B3
secondary
#C8B66F
accent
#C641E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2843B3

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

Preview Lab → · Contrast checker → · Palette generator →

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