#2A5599#2A5599

#2A5599 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.121 H 259.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2A5599
RGBrgb(42, 85, 153)
HSLhsl(217, 57%, 38%)
HSVhsv(217, 73%, 60%)
CMYKcmyk(72.5%, 44.4%, 0%, 40%)
CIE-LABlab(36.53, 9.22, -41.56)
CIE-LCHlch(36.53, 42.57, 282.51°)
OKLaboklab(45.57% -0.0226 -0.1189)
OKLCHoklch(45.57% 0.121 259.3)
XYZxyz(9.9510, 9.2881, 31.3992)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5599 #996E2A
analogous
#2A8C99 #2A5599 #372A99
triadic
#2A5599 #992A55 #55992A
tetradic
#2A5599 #992A8C #996E2A #2A9937
square
#2A5599 #992A8C #996E2A #2A9937
split-complementary
#2A5599 #99372A #8C992A
monochromatic
#102039 #1D3A69 #2A5599 #3870C8 #6892D6

Accessibility & contrast

On white

7.35
#2A5599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A5599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5599
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5599#FFFFFF#000000##FFFFFF
##2A55991.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9C
Deuteranopia (green-blind)
#1F5198
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a5599;
/* rgb */ color: rgb(42, 85, 153);
/* oklch */ color: oklch(45.6% 0.121 259.3);
Tailwind
colors: {
  custom: {
    50: '#7284b7',
    500: '#2a5599',
    950: '#000000',
  },
}
SCSS
$custom: #2a5599;
$custom-light: #7284b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5599",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 216.757,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.12099,
    "h": 259.3
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#2A5599
secondary
#BC9963
accent
#A548E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A5599

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

Preview Lab → · Contrast checker → · Palette generator →

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