#2A5597#2A5597

#2A5597 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.118 H 258.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2A5597
RGBrgb(42, 85, 151)
HSLhsl(216, 56%, 38%)
HSVhsv(216, 72%, 59%)
CMYKcmyk(72.2%, 43.7%, 0%, 40.8%)
CIE-LABlab(36.41, 8.45, -40.55)
CIE-LCHlch(36.41, 41.42, 281.78°)
OKLaboklab(45.43% -0.023 -0.1159)
OKLCHoklch(45.43% 0.118 258.8)
XYZxyz(9.7872, 9.2226, 30.5365)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5597 #976C2A
analogous
#2A8C97 #2A5597 #352A97
triadic
#2A5597 #972A55 #55972A
tetradic
#2A5597 #972A8C #976C2A #2A9735
square
#2A5597 #972A8C #976C2A #2A9735
split-complementary
#2A5597 #97352A #8C972A
monochromatic
#0F1F37 #1D3A67 #2A5597 #3770C7 #6792D5

Accessibility & contrast

On white

7.38
#2A5597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2A5597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5597
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5597#FFFFFF#000000##FFFFFF
##2A55971.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#225196
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a5597;
/* rgb */ color: rgb(42, 85, 151);
/* oklch */ color: oklch(45.4% 0.118 258.8);
Tailwind
colors: {
  custom: {
    50: '#7284b6',
    500: '#2a5597',
    950: '#000000',
  },
}
SCSS
$custom: #2a5597;
$custom-light: #7284b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5597",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 216.33,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4543,
    "c": 0.11816,
    "h": 258.8
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#2A5597
secondary
#BB9862
accent
#A448E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A5597

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

Preview Lab → · Contrast checker → · Palette generator →

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