#2834A3#2834A3

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

Color values

HEX#2834A3
RGBrgb(40, 52, 163)
HSLhsl(234, 61%, 40%)
HSVhsv(234, 75%, 64%)
CMYKcmyk(75.5%, 68.1%, 0%, 36.1%)
CIE-LABlab(28.25, 34.71, -61.05)
CIE-LCHlch(28.25, 70.22, 299.62°)
OKLaboklab(39.55% 0.0023 -0.1766)
OKLCHoklch(39.55% 0.177 270.7)
XYZxyz(8.7117, 5.5505, 35.2555)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2834A3 #A39728
analogous
#2872A3 #2834A3 #5928A3
triadic
#2834A3 #A32834 #34A328
tetradic
#2834A3 #A32872 #A39728 #28A359
square
#2834A3 #A32872 #A39728 #28A359
split-complementary
#2834A3 #A35928 #72A328
monochromatic
#101541 #1C2472 #2834A3 #3A48CF #6B76DB

Accessibility & contrast

On white

9.95
#2834A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2834A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2834A3
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2834A3#FFFFFF#000000##FFFFFF
##2834A31.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2834a3;
/* rgb */ color: rgb(40, 52, 163);
/* oklch */ color: oklch(39.6% 0.177 270.7);
Tailwind
colors: {
  custom: {
    50: '#766cbf',
    500: '#2834a3',
    950: '#000000',
  },
}
SCSS
$custom: #2834a3;
$custom-light: #766cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2834a3",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 163
  },
  "hsl": {
    "h": 234.146,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39553,
    "c": 0.17661,
    "h": 270.7
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2834A3

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

Preview Lab → · Contrast checker → · Palette generator →

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