#2834A0#2834A0

#2834A0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.173 H 270.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2834A0
RGBrgb(40, 52, 160)
HSLhsl(234, 60%, 39%)
HSVhsv(234, 75%, 63%)
CMYKcmyk(75%, 67.5%, 0%, 37.3%)
CIE-LABlab(27.96, 33.62, -59.69)
CIE-LCHlch(27.96, 68.51, 299.39°)
OKLaboklab(39.26% 0.0025 -0.1726)
OKLCHoklch(39.26% 0.173 270.8)
XYZxyz(8.4461, 5.4443, 33.8566)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2834A0 #A09428
analogous
#2870A0 #2834A0 #5828A0
triadic
#2834A0 #A02834 #34A028
tetradic
#2834A0 #A02870 #A09428 #28A058
square
#2834A0 #A02870 #A09428 #28A058
split-complementary
#2834A0 #A05828 #70A028
monochromatic
#10143E #1C246F #2834A0 #3847CD #6974D9

Accessibility & contrast

On white

10.05
#2834A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2834A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2834A0
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2834A0#FFFFFF#000000##FFFFFF
##2834A01.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2834a0;
/* rgb */ color: rgb(40, 52, 160);
/* oklch */ color: oklch(39.3% 0.173 270.8);
Tailwind
colors: {
  custom: {
    50: '#756bbd',
    500: '#2834a0',
    950: '#000000',
  },
}
SCSS
$custom: #2834a0;
$custom-light: #756bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2834a0",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 160
  },
  "hsl": {
    "h": 234,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.17267,
    "h": 270.8
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#2834A0
secondary
#C0B764
accent
#D345E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2834A0

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

Preview Lab → · Contrast checker → · Palette generator →

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