#2A3084#2A3084

#2A3084 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.139 H 274.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2A3084
RGBrgb(42, 48, 132)
HSLhsl(236, 52%, 34%)
HSVhsv(236, 68%, 52%)
CMYKcmyk(68.2%, 63.6%, 0%, 48.2%)
CIE-LABlab(24.55, 26.22, -48.02)
CIE-LCHlch(24.55, 54.71, 298.64°)
OKLaboklab(36.01% 0.0096 -0.1384)
OKLCHoklch(36.01% 0.139 274)
XYZxyz(6.1753, 4.2715, 22.3244)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3084 #847E2A
analogous
#2A5D84 #2A3084 #512A84
triadic
#2A3084 #842A30 #30842A
tetradic
#2A3084 #842A5D #847E2A #2A8451
square
#2A3084 #842A5D #847E2A #2A8451
split-complementary
#2A3084 #84512A #5D842A
monochromatic
#0C0E27 #1B1F56 #2A3084 #3941B2 #5D64CB

Accessibility & contrast

On white

11.32
#2A3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A3084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3084
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3084#FFFFFF#000000##FFFFFF
##2A30841.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a3084;
/* rgb */ color: rgb(42, 48, 132);
/* oklch */ color: oklch(36.0% 0.139 274.0);
Tailwind
colors: {
  custom: {
    50: '#6f68a9',
    500: '#2a3084',
    950: '#000000',
  },
}
SCSS
$custom: #2a3084;
$custom-light: #6f68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3084",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 236,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3601,
    "c": 0.13875,
    "h": 274
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#2A3084
secondary
#B1AB59
accent
#D24DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3084

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

Preview Lab → · Contrast checker → · Palette generator →

#2A3084 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva