#2A559F#2A559F

#2A559F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.129 H 260.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2A559F
RGBrgb(42, 85, 159)
HSLhsl(218, 58%, 39%)
HSVhsv(218, 74%, 62%)
CMYKcmyk(73.6%, 46.5%, 0%, 37.6%)
CIE-LABlab(36.91, 11.53, -44.56)
CIE-LCHlch(36.91, 46.02, 284.50°)
OKLaboklab(45.98% -0.0214 -0.1277)
OKLCHoklch(45.98% 0.129 260.5)
XYZxyz(10.4591, 9.4913, 34.0750)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A559F #9F742A
analogous
#2A909F #2A559F #3A2A9F
triadic
#2A559F #9F2A55 #559F2A
tetradic
#2A559F #9F2A90 #9F742A #2A9F3A
square
#2A559F #9F2A90 #9F742A #2A9F3A
split-complementary
#2A559F #9F3A2A #909F2A
monochromatic
#10213E #1D3B6F #2A559F #3B70CB #6B93D8

Accessibility & contrast

On white

7.25
#2A559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2A559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A559F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A559F#FFFFFF#000000##FFFFFF
##2A559F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#15529E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a559f;
/* rgb */ color: rgb(42, 85, 159);
/* oklch */ color: oklch(46.0% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#7384bc',
    500: '#2a559f',
    950: '#000000',
  },
}
SCSS
$custom: #2a559f;
$custom-light: #7384bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a559f",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 217.949,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45982,
    "c": 0.12947,
    "h": 260.5
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#2A559F
secondary
#BF9E66
accent
#A846E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A559F

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

Preview Lab → · Contrast checker → · Palette generator →

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