#2A4884#2A4884

#2A4884 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.107 H 262.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2A4884
RGBrgb(42, 72, 132)
HSLhsl(220, 52%, 34%)
HSVhsv(220, 68%, 52%)
CMYKcmyk(68.2%, 45.5%, 0%, 48.2%)
CIE-LABlab(31.33, 9.84, -37.07)
CIE-LCHlch(31.33, 38.35, 284.87°)
OKLaboklab(41.13% -0.0137 -0.1059)
OKLCHoklch(41.13% 0.107 262.6)
XYZxyz(7.4356, 6.7922, 22.7445)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4884 #84662A
analogous
#2A7584 #2A4884 #392A84
triadic
#2A4884 #842A48 #48842A
tetradic
#2A4884 #842A75 #84662A #2A8439
square
#2A4884 #842A75 #84662A #2A8439
split-complementary
#2A4884 #84392A #75842A
monochromatic
#0C1527 #1B2F56 #2A4884 #3961B2 #5D82CB

Accessibility & contrast

On white

8.90
#2A4884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A4884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4884
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4884#FFFFFF#000000##FFFFFF
##2A48841.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E86
Deuteranopia (green-blind)
#1C4683
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4884;
/* rgb */ color: rgb(42, 72, 132);
/* oklch */ color: oklch(41.1% 0.107 262.6);
Tailwind
colors: {
  custom: {
    50: '#6e7aa8',
    500: '#2a4884',
    950: '#000000',
  },
}
SCSS
$custom: #2a4884;
$custom-light: #6e7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4884",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 220,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.10676,
    "h": 262.6
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#2A4884
secondary
#B19459
accent
#AC4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2A4884

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

Preview Lab → · Contrast checker → · Palette generator →

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