#2A4886#2A4886

#2A4886 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.110 H 263.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2A4886
RGBrgb(42, 72, 134)
HSLhsl(220, 52%, 35%)
HSVhsv(220, 69%, 53%)
CMYKcmyk(68.7%, 46.3%, 0%, 47.5%)
CIE-LABlab(31.46, 10.60, -38.10)
CIE-LCHlch(31.46, 39.55, 285.55°)
OKLaboklab(41.27% -0.0133 -0.1089)
OKLCHoklch(41.27% 0.11 263)
XYZxyz(7.5738, 6.8475, 23.4722)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4886 #86682A
analogous
#2A7686 #2A4886 #3A2A86
triadic
#2A4886 #862A48 #48862A
tetradic
#2A4886 #862A76 #86682A #2A863A
square
#2A4886 #862A76 #86682A #2A863A
split-complementary
#2A4886 #863A2A #76862A
monochromatic
#0D1629 #1B2F57 #2A4886 #3961B5 #5E82CD

Accessibility & contrast

On white

8.86
#2A4886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4886
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4886#FFFFFF#000000##FFFFFF
##2A48861.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F88
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4886;
/* rgb */ color: rgb(42, 72, 134);
/* oklch */ color: oklch(41.3% 0.110 263.0);
Tailwind
colors: {
  custom: {
    50: '#6e7aaa',
    500: '#2a4886',
    950: '#000000',
  },
}
SCSS
$custom: #2a4886;
$custom-light: #6e7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4886",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 220.435,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41265,
    "c": 0.10972,
    "h": 263
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#2A4886
secondary
#B2955A
accent
#AD4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4886

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

Preview Lab → · Contrast checker → · Palette generator →

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