#2A559C#2A559C

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

Color values

HEX#2A559C
RGBrgb(42, 85, 156)
HSLhsl(217, 58%, 39%)
HSVhsv(217, 73%, 61%)
CMYKcmyk(73.1%, 45.5%, 0%, 38.8%)
CIE-LABlab(36.72, 10.37, -43.06)
CIE-LCHlch(36.72, 44.29, 283.54°)
OKLaboklab(45.77% -0.022 -0.1233)
OKLCHoklch(45.77% 0.125 259.9)
XYZxyz(10.2019, 9.3884, 32.7205)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A559C #9C712A
analogous
#2A8E9C #2A559C #382A9C
triadic
#2A559C #9C2A55 #559C2A
tetradic
#2A559C #9C2A8E #9C712A #2A9C38
square
#2A559C #9C2A8E #9C712A #2A9C38
split-complementary
#2A559C #9C382A #8E9C2A
monochromatic
#10203C #1D3B6C #2A559C #3970CA #6A93D7

Accessibility & contrast

On white

7.30
#2A559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A559C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A559C#FFFFFF#000000##FFFFFF
##2A559C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9F
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a559c;
/* rgb */ color: rgb(42, 85, 156);
/* oklch */ color: oklch(45.8% 0.125 259.9);
Tailwind
colors: {
  custom: {
    50: '#7384ba',
    500: '#2a559c',
    950: '#000000',
  },
}
SCSS
$custom: #2a559c;
$custom-light: #7384ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a559c",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 217.368,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45772,
    "c": 0.12523,
    "h": 259.9
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#2A559C
secondary
#BD9C65
accent
#A747E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A559C

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

Preview Lab → · Contrast checker → · Palette generator →

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