#2A549F#2A549F

#2A549F is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.131 H 261.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2A549F
RGBrgb(42, 84, 159)
HSLhsl(218, 58%, 39%)
HSVhsv(218, 74%, 62%)
CMYKcmyk(73.6%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.62, 12.19, -45.02)
CIE-LCHlch(36.62, 46.64, 285.14°)
OKLaboklab(45.76% -0.0205 -0.1291)
OKLCHoklch(45.76% 0.131 261)
XYZxyz(10.3809, 9.3350, 34.0489)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A549F #9F752A
analogous
#2A8E9F #2A549F #3B2A9F
triadic
#2A549F #9F2A54 #549F2A
tetradic
#2A549F #9F2A8E #9F752A #2A9F3B
square
#2A549F #9F2A8E #9F752A #2A9F3B
split-complementary
#2A549F #9F3B2A #8E9F2A
monochromatic
#10213E #1D3A6F #2A549F #3B6FCB #6B92D8

Accessibility & contrast

On white

7.32
#2A549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2A549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A549F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A549F#FFFFFF#000000##FFFFFF
##2A549F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#11519D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a549f;
/* rgb */ color: rgb(42, 84, 159);
/* oklch */ color: oklch(45.8% 0.131 261.0);
Tailwind
colors: {
  custom: {
    50: '#7383bc',
    500: '#2a549f',
    950: '#000000',
  },
}
SCSS
$custom: #2a549f;
$custom-light: #7383bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a549f",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 218.462,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.13069,
    "h": 261
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#2A549F
secondary
#BF9F66
accent
#AA46E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A549F

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

Preview Lab → · Contrast checker → · Palette generator →

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