#2A4D85#2A4D85

#2A4D85 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.102 H 259.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2A4D85
RGBrgb(42, 77, 133)
HSLhsl(217, 52%, 34%)
HSVhsv(217, 68%, 52%)
CMYKcmyk(68.4%, 42.1%, 0%, 47.8%)
CIE-LABlab(32.90, 6.87, -35.17)
CIE-LCHlch(32.90, 35.84, 281.05°)
OKLaboklab(42.36% -0.0188 -0.1002)
OKLCHoklch(42.36% 0.102 259.4)
XYZxyz(7.8408, 7.4927, 23.2188)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D85 #85622A
analogous
#2A7B85 #2A4D85 #352A85
triadic
#2A4D85 #852A4D #4D852A
tetradic
#2A4D85 #852A7B #85622A #2A8535
square
#2A4D85 #852A7B #85622A #2A8535
split-complementary
#2A4D85 #85352A #7B852A
monochromatic
#0D1728 #1B3256 #2A4D85 #3968B4 #5D88CC

Accessibility & contrast

On white

8.40
#2A4D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A4D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D85
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D85#FFFFFF#000000##FFFFFF
##2A4D851.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4d85;
/* rgb */ color: rgb(42, 77, 133);
/* oklch */ color: oklch(42.4% 0.102 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7ea9',
    500: '#2a4d85',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d85;
$custom-light: #6e7ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d85",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 133
  },
  "hsl": {
    "h": 216.923,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.10198,
    "h": 259.4
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#2A4D85
secondary
#B29059
accent
#A44CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4D85

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

Preview Lab → · Contrast checker → · Palette generator →

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