#2834A4#2834A4

#2834A4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.178 H 270.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2834A4
RGBrgb(40, 52, 164)
HSLhsl(234, 61%, 40%)
HSVhsv(234, 76%, 64%)
CMYKcmyk(75.6%, 68.3%, 0%, 35.7%)
CIE-LABlab(28.34, 35.07, -61.49)
CIE-LCHlch(28.34, 70.79, 299.70°)
OKLaboklab(39.65% 0.0022 -0.1779)
OKLCHoklch(39.65% 0.178 270.7)
XYZxyz(8.8016, 5.5865, 35.7292)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2834A4 #A49828
analogous
#2872A4 #2834A4 #5A28A4
triadic
#2834A4 #A42834 #34A428
tetradic
#2834A4 #A42872 #A49828 #28A45A
square
#2834A4 #A42872 #A49828 #28A45A
split-complementary
#2834A4 #A45A28 #72A428
monochromatic
#101542 #1C2473 #2834A4 #3A49CF #6B76DB

Accessibility & contrast

On white

9.92
#2834A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2834A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2834A4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2834A4#FFFFFF#000000##FFFFFF
##2834A41.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2834a4;
/* rgb */ color: rgb(40, 52, 164);
/* oklch */ color: oklch(39.7% 0.178 270.7);
Tailwind
colors: {
  custom: {
    50: '#766cc0',
    500: '#2834a4',
    950: '#000000',
  },
}
SCSS
$custom: #2834a4;
$custom-light: #766cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2834a4",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 234.194,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.17792,
    "h": 270.7
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#2834A4
secondary
#C1B966
accent
#D444E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2834A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2834A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva