#2A5AA3#2A5AA3

#2A5AA3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.129 H 258.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2A5AA3
RGBrgb(42, 90, 163)
HSLhsl(216, 59%, 40%)
HSVhsv(216, 74%, 64%)
CMYKcmyk(74.2%, 44.8%, 0%, 36.1%)
CIE-LABlab(38.63, 9.78, -44.19)
CIE-LCHlch(38.63, 45.26, 282.48°)
OKLaboklab(47.39% -0.0253 -0.1265)
OKLCHoklch(47.39% 0.129 258.7)
XYZxyz(11.2195, 10.4477, 36.0685)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5AA3 #A3732A
analogous
#2A97A3 #2A5AA3 #362AA3
triadic
#2A5AA3 #A32A5A #5AA32A
tetradic
#2A5AA3 #A32A97 #A3732A #2AA336
square
#2A5AA3 #A32A97 #A3732A #2AA336
split-complementary
#2A5AA3 #A3362A #97A32A
monochromatic
#112442 #1D3F72 #2A5AA3 #3D76CD #6E99DA

Accessibility & contrast

On white

6.80
#2A5AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2A5AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5AA3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5AA3#FFFFFF#000000##FFFFFF
##2A5AA31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#1E56A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5aa3;
/* rgb */ color: rgb(42, 90, 163);
/* oklch */ color: oklch(47.4% 0.129 258.7);
Tailwind
colors: {
  custom: {
    50: '#7488bf',
    500: '#2a5aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2a5aa3;
$custom-light: #7488bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5aa3",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 216.198,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47391,
    "c": 0.129,
    "h": 258.7
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#2A5AA3
secondary
#C09D68
accent
#A446E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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