#2834A8#2834A8

#2834A8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.183 H 270.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2834A8
RGBrgb(40, 52, 168)
HSLhsl(234, 62%, 41%)
HSVhsv(234, 76%, 66%)
CMYKcmyk(76.2%, 69%, 0%, 34.1%)
CIE-LABlab(28.73, 36.51, -63.27)
CIE-LCHlch(28.73, 73.05, 299.99°)
OKLaboklab(40.05% 0.0018 -0.1831)
OKLCHoklch(40.05% 0.183 270.6)
XYZxyz(9.1685, 5.7333, 37.6616)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2834A8 #A89C28
analogous
#2874A8 #2834A8 #5C28A8
triadic
#2834A8 #A82834 #34A828
tetradic
#2834A8 #A82874 #A89C28 #28A85C
square
#2834A8 #A82874 #A89C28 #28A85C
split-complementary
#2834A8 #A85C28 #74A828
monochromatic
#101545 #1C2577 #2834A8 #3D4AD1 #6E78DC

Accessibility & contrast

On white

9.78
#2834A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2834A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2834A8
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2834A8#FFFFFF#000000##FFFFFF
##2834A81.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2834a8;
/* rgb */ color: rgb(40, 52, 168);
/* oklch */ color: oklch(40.0% 0.183 270.6);
Tailwind
colors: {
  custom: {
    50: '#776cc3',
    500: '#2834a8',
    950: '#000000',
  },
}
SCSS
$custom: #2834a8;
$custom-light: #776cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2834a8",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 234.375,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.18312,
    "h": 270.6
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#2834A8
secondary
#C3BB69
accent
#D543E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2834A8

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

Preview Lab → · Contrast checker → · Palette generator →

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