#2A4982#2A4982

#2A4982 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.103 H 261.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2A4982
RGBrgb(42, 73, 130)
HSLhsl(219, 51%, 34%)
HSVhsv(219, 68%, 51%)
CMYKcmyk(67.7%, 43.8%, 0%, 49%)
CIE-LABlab(31.51, 8.40, -35.55)
CIE-LCHlch(31.51, 36.53, 283.30°)
OKLaboklab(41.22% -0.0151 -0.1014)
OKLCHoklch(41.22% 0.103 261.5)
XYZxyz(7.3652, 6.8683, 22.0523)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4982 #82632A
analogous
#2A7582 #2A4982 #372A82
triadic
#2A4982 #822A49 #49822A
tetradic
#2A4982 #822A75 #82632A #2A8237
square
#2A4982 #822A75 #82632A #2A8237
split-complementary
#2A4982 #82372A #75822A
monochromatic
#0C1525 #1B2F54 #2A4982 #3963B0 #5C83CA

Accessibility & contrast

On white

8.85
#2A4982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A4982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4982
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4982#FFFFFF#000000##FFFFFF
##2A49821.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#214681
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4982;
/* rgb */ color: rgb(42, 73, 130);
/* oklch */ color: oklch(41.2% 0.103 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ba7',
    500: '#2a4982',
    950: '#000000',
  },
}
SCSS
$custom: #2a4982;
$custom-light: #6e7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4982",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 218.864,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4122,
    "c": 0.10253,
    "h": 261.5
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#2A4982
secondary
#B09158
accent
#A94DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2A4982

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

Preview Lab → · Contrast checker → · Palette generator →

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