#2A4985#2A4985

#2A4985 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.107 H 262.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2A4985
RGBrgb(42, 73, 133)
HSLhsl(220, 52%, 34%)
HSVhsv(220, 68%, 52%)
CMYKcmyk(68.4%, 45.1%, 0%, 47.8%)
CIE-LABlab(31.69, 9.55, -37.10)
CIE-LCHlch(31.69, 38.31, 284.43°)
OKLaboklab(41.43% -0.0145 -0.106)
OKLCHoklch(41.43% 0.107 262.2)
XYZxyz(7.5695, 6.9500, 23.1283)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4985 #85662A
analogous
#2A7785 #2A4985 #382A85
triadic
#2A4985 #852A49 #49852A
tetradic
#2A4985 #852A77 #85662A #2A8538
square
#2A4985 #852A77 #85662A #2A8538
split-complementary
#2A4985 #85382A #77852A
monochromatic
#0D1628 #1B2F56 #2A4985 #3963B4 #5D83CC

Accessibility & contrast

On white

8.79
#2A4985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A4985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4985
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4985#FFFFFF#000000##FFFFFF
##2A49851.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F87
Deuteranopia (green-blind)
#1D4784
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4985;
/* rgb */ color: rgb(42, 73, 133);
/* oklch */ color: oklch(41.4% 0.107 262.2);
Tailwind
colors: {
  custom: {
    50: '#6e7ba9',
    500: '#2a4985',
    950: '#000000',
  },
}
SCSS
$custom: #2a4985;
$custom-light: #6e7ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4985",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 219.56,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41425,
    "c": 0.10696,
    "h": 262.2
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#2A4985
secondary
#B29459
accent
#AB4CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4985

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

Preview Lab → · Contrast checker → · Palette generator →

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