#2A4B82#2A4B82

#2A4B82 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.100 H 260.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2A4B82
RGBrgb(42, 75, 130)
HSLhsl(218, 51%, 34%)
HSVhsv(218, 68%, 51%)
CMYKcmyk(67.7%, 42.3%, 0%, 49%)
CIE-LABlab(32.11, 7.06, -34.58)
CIE-LCHlch(32.11, 35.29, 281.55°)
OKLaboklab(41.69% -0.0173 -0.0985)
OKLCHoklch(41.69% 0.1 260)
XYZxyz(7.4988, 7.1354, 22.0968)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B82 #82612A
analogous
#2A7782 #2A4B82 #352A82
triadic
#2A4B82 #822A4B #4B822A
tetradic
#2A4B82 #822A77 #82612A #2A8235
square
#2A4B82 #822A77 #82612A #2A8235
split-complementary
#2A4B82 #82352A #77822A
monochromatic
#0C1625 #1B3054 #2A4B82 #3966B0 #5C85CA

Accessibility & contrast

On white

8.65
#2A4B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A4B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B82
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B82#FFFFFF#000000##FFFFFF
##2A4B821.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#254881
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4b82;
/* rgb */ color: rgb(42, 75, 130);
/* oklch */ color: oklch(41.7% 0.100 260.0);
Tailwind
colors: {
  custom: {
    50: '#6d7ca6',
    500: '#2a4b82',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b82;
$custom-light: #6d7ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b82",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 130
  },
  "hsl": {
    "h": 217.5,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4169,
    "c": 0.10004,
    "h": 260
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#2A4B82
secondary
#B08F58
accent
#A64DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2A4B82

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

Preview Lab → · Contrast checker → · Palette generator →

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