#2A549E#2A549E

#2A549E is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.129 H 260.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2A549E
RGBrgb(42, 84, 158)
HSLhsl(218, 58%, 39%)
HSVhsv(218, 73%, 62%)
CMYKcmyk(73.4%, 46.8%, 0%, 38%)
CIE-LABlab(36.56, 11.80, -44.53)
CIE-LCHlch(36.56, 46.07, 284.84°)
OKLaboklab(45.69% -0.0207 -0.1276)
OKLCHoklch(45.69% 0.129 260.8)
XYZxyz(10.2945, 9.3004, 33.5937)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A549E #9E742A
analogous
#2A8E9E #2A549E #3A2A9E
triadic
#2A549E #9E2A54 #549E2A
tetradic
#2A549E #9E2A8E #9E742A #2A9E3A
square
#2A549E #9E2A8E #9E742A #2A9E3A
split-complementary
#2A549E #9E3A2A #8E9E2A
monochromatic
#10213D #1D3A6E #2A549E #3A6FCB #6B92D8

Accessibility & contrast

On white

7.34
#2A549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A549E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A549E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A549E#FFFFFF#000000##FFFFFF
##2A549E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA1
Deuteranopia (green-blind)
#14519D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a549e;
/* rgb */ color: rgb(42, 84, 158);
/* oklch */ color: oklch(45.7% 0.129 260.8);
Tailwind
colors: {
  custom: {
    50: '#7383bb',
    500: '#2a549e',
    950: '#000000',
  },
}
SCSS
$custom: #2a549e;
$custom-light: #7383bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a549e",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 218.276,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45686,
    "c": 0.12929,
    "h": 260.8
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#2A549E
secondary
#BE9E66
accent
#A947E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A549E

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

Preview Lab → · Contrast checker → · Palette generator →

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