#2A559E#2A559E

#2A559E is a mid, vivid blue. Relative luminance 0.095; OKLCH L 45.9% C 0.128 H 260.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2A559E
RGBrgb(42, 85, 158)
HSLhsl(218, 58%, 39%)
HSVhsv(218, 73%, 62%)
CMYKcmyk(73.4%, 46.2%, 0%, 38%)
CIE-LABlab(36.85, 11.14, -44.06)
CIE-LCHlch(36.85, 45.45, 284.19°)
OKLaboklab(45.91% -0.0216 -0.1262)
OKLCHoklch(45.91% 0.128 260.3)
XYZxyz(10.3727, 9.4567, 33.6198)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A559E #9E732A
analogous
#2A8F9E #2A559E #392A9E
triadic
#2A559E #9E2A55 #559E2A
tetradic
#2A559E #9E2A8F #9E732A #2A9E39
square
#2A559E #9E2A8F #9E732A #2A9E39
split-complementary
#2A559E #9E392A #8F9E2A
monochromatic
#10213D #1D3B6E #2A559E #3A70CB #6B93D8

Accessibility & contrast

On white

7.26
#2A559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2A559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A559E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A559E#FFFFFF#000000##FFFFFF
##2A559E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA1
Deuteranopia (green-blind)
#17529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a559e;
/* rgb */ color: rgb(42, 85, 158);
/* oklch */ color: oklch(45.9% 0.128 260.3);
Tailwind
colors: {
  custom: {
    50: '#7384bb',
    500: '#2a559e',
    950: '#000000',
  },
}
SCSS
$custom: #2a559e;
$custom-light: #7384bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a559e",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 217.759,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.12806,
    "h": 260.3
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#2A559E
secondary
#BE9D66
accent
#A847E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A559E

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

Preview Lab → · Contrast checker → · Palette generator →

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