#2A549A#2A549A

#2A549A is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.4% C 0.124 H 260.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2A549A
RGBrgb(42, 84, 154)
HSLhsl(218, 57%, 38%)
HSVhsv(218, 73%, 60%)
CMYKcmyk(72.7%, 45.5%, 0%, 39.6%)
CIE-LABlab(36.30, 10.26, -42.54)
CIE-LCHlch(36.30, 43.76, 283.57°)
OKLaboklab(45.41% -0.0214 -0.1217)
OKLCHoklch(45.41% 0.124 260)
XYZxyz(9.9558, 9.1649, 31.8099)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A549A #9A702A
analogous
#2A8C9A #2A549A #382A9A
triadic
#2A549A #9A2A54 #549A2A
tetradic
#2A549A #9A2A8C #9A702A #2A9A38
square
#2A549A #9A2A8C #9A702A #2A9A38
split-complementary
#2A549A #9A382A #8C9A2A
monochromatic
#10203A #1D3A6A #2A549A #386FC9 #6892D6

Accessibility & contrast

On white

7.41
#2A549A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2A549A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A549A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A549A#FFFFFF#000000##FFFFFF
##2A549A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9D
Deuteranopia (green-blind)
#1B5199
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a549a;
/* rgb */ color: rgb(42, 84, 154);
/* oklch */ color: oklch(45.4% 0.124 260.0);
Tailwind
colors: {
  custom: {
    50: '#7283b8',
    500: '#2a549a',
    950: '#000000',
  },
}
SCSS
$custom: #2a549a;
$custom-light: #7283b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a549a",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 217.5,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.12362,
    "h": 260
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#2A549A
secondary
#BC9B63
accent
#A747E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A549A

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

Preview Lab → · Contrast checker → · Palette generator →

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