#2A559D#2A559D

#2A559D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.127 H 260.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2A559D
RGBrgb(42, 85, 157)
HSLhsl(218, 58%, 39%)
HSVhsv(218, 73%, 62%)
CMYKcmyk(73.2%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.79, 10.76, -43.56)
CIE-LCHlch(36.79, 44.87, 283.87°)
OKLaboklab(45.84% -0.0218 -0.1247)
OKLCHoklch(45.84% 0.127 260.1)
XYZxyz(10.2870, 9.4225, 33.1683)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A559D #9D722A
analogous
#2A8F9D #2A559D #392A9D
triadic
#2A559D #9D2A55 #559D2A
tetradic
#2A559D #9D2A8F #9D722A #2A9D39
square
#2A559D #9D2A8F #9D722A #2A9D39
split-complementary
#2A559D #9D392A #8F9D2A
monochromatic
#10213C #1D3B6D #2A559D #3A70CA #6A93D7

Accessibility & contrast

On white

7.28
#2A559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2A559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A559D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A559D#FFFFFF#000000##FFFFFF
##2A559D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a559d;
/* rgb */ color: rgb(42, 85, 157);
/* oklch */ color: oklch(45.8% 0.127 260.1);
Tailwind
colors: {
  custom: {
    50: '#7384ba',
    500: '#2a559d',
    950: '#000000',
  },
}
SCSS
$custom: #2a559d;
$custom-light: #7384ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a559d",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 217.565,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.12664,
    "h": 260.1
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

primary
#2A559D
secondary
#BE9D65
accent
#A747E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A559D

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

Preview Lab → · Contrast checker → · Palette generator →

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