#2A4989#2A4989

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

Color values

HEX#2A4989
RGBrgb(42, 73, 137)
HSLhsl(220, 53%, 35%)
HSVhsv(220, 69%, 54%)
CMYKcmyk(69.3%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.95, 11.08, -39.16)
CIE-LCHlch(31.95, 40.70, 285.80°)
OKLaboklab(41.71% -0.0138 -0.112)
OKLCHoklch(41.71% 0.113 263)
XYZxyz(7.8512, 7.0627, 24.6115)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4989 #896A2A
analogous
#2A7989 #2A4989 #3A2A89
triadic
#2A4989 #892A49 #49892A
tetradic
#2A4989 #892A79 #896A2A #2A893A
square
#2A4989 #892A79 #896A2A #2A893A
split-complementary
#2A4989 #893A2A #79892A
monochromatic
#0D172B #1C305A #2A4989 #3862B8 #5F83CE

Accessibility & contrast

On white

8.70
#2A4989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A4989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4989
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4989#FFFFFF#000000##FFFFFF
##2A49891.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508B
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4989;
/* rgb */ color: rgb(42, 73, 137);
/* oklch */ color: oklch(41.7% 0.113 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f7bac',
    500: '#2a4989',
    950: '#000000',
  },
}
SCSS
$custom: #2a4989;
$custom-light: #6f7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4989",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 220.421,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41705,
    "c": 0.11286,
    "h": 263
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#2A4989
secondary
#B4975B
accent
#AD4BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4989

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

Preview Lab → · Contrast checker → · Palette generator →

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