#2A5EAD#2A5EAD

#2A5EAD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.138 H 258.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2A5EAD
RGBrgb(42, 94, 173)
HSLhsl(216, 61%, 42%)
HSVhsv(216, 76%, 68%)
CMYKcmyk(75.7%, 45.7%, 0%, 32.2%)
CIE-LABlab(40.43, 11.01, -47.23)
CIE-LCHlch(40.43, 48.50, 283.12°)
OKLaboklab(48.98% -0.0269 -0.1354)
OKLCHoklch(48.98% 0.138 258.7)
XYZxyz(12.4976, 11.5134, 41.0907)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5EAD #AD792A
analogous
#2AA0AD #2A5EAD #372AAD
triadic
#2A5EAD #AD2A5E #5EAD2A
tetradic
#2A5EAD #AD2AA0 #AD792A #2AAD37
square
#2A5EAD #AD2AA0 #AD792A #2AAD37
split-complementary
#2A5EAD #AD372A #A0AD2A
monochromatic
#12284B #1E437C #2A5EAD #437BD1 #749EDD

Accessibility & contrast

On white

6.36
#2A5EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2A5EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5EAD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5EAD#FFFFFF#000000##FFFFFF
##2A5EAD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B0
Deuteranopia (green-blind)
#195AAB
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a5ead;
/* rgb */ color: rgb(42, 94, 173);
/* oklch */ color: oklch(49.0% 0.138 258.7);
Tailwind
colors: {
  custom: {
    50: '#768bc6',
    500: '#2a5ead',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ead;
$custom-light: #768bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ead",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 216.183,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.13804,
    "h": 258.7
  },
  "luminance": 0.11515
}

Semantic roles & 50–950 ramp

primary
#2A5EAD
secondary
#C5A26E
accent
#A444E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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