#2834B0#2834B0

#2834B0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.193 H 270.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2834B0
RGBrgb(40, 52, 176)
HSLhsl(235, 63%, 42%)
HSVhsv(235, 77%, 69%)
CMYKcmyk(77.3%, 70.5%, 0%, 31%)
CIE-LABlab(29.51, 39.36, -66.78)
CIE-LCHlch(29.51, 77.51, 300.52°)
OKLaboklab(40.85% 0.0009 -0.1933)
OKLCHoklch(40.85% 0.193 270.3)
XYZxyz(9.9369, 6.0406, 41.7081)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2834B0 #B0A428
analogous
#2878B0 #2834B0 #6028B0
triadic
#2834B0 #B02834 #34B028
tetradic
#2834B0 #B02878 #B0A428 #28B060
square
#2834B0 #B02878 #B0A428 #28B060
split-complementary
#2834B0 #B06028 #78B028
monochromatic
#11174C #1D257E #2834B0 #414ED4 #737DDF

Accessibility & contrast

On white

9.51
#2834B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2834B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2834B0
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2834B0#FFFFFF#000000##FFFFFF
##2834B01.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#003FAE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2834b0;
/* rgb */ color: rgb(40, 52, 176);
/* oklch */ color: oklch(40.9% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#796cc9',
    500: '#2834b0',
    950: '#000000',
  },
}
SCSS
$custom: #2834b0;
$custom-light: #796cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2834b0",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 234.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.19333,
    "h": 270.3
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#2834B0
secondary
#C6BF6D
accent
#D842E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2834B0

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

Preview Lab → · Contrast checker → · Palette generator →

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