#2A5CA5#2A5CA5

#2A5CA5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.129 H 258.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2A5CA5
RGBrgb(42, 92, 165)
HSLhsl(216, 59%, 41%)
HSVhsv(216, 75%, 65%)
CMYKcmyk(74.5%, 44.2%, 0%, 35.3%)
CIE-LABlab(39.35, 9.24, -44.24)
CIE-LCHlch(39.35, 45.19, 281.80°)
OKLaboklab(47.98% -0.0267 -0.1266)
OKLCHoklch(47.98% 0.129 258.1)
XYZxyz(11.5710, 10.8619, 37.0767)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CA5 #A5732A
analogous
#2A99A5 #2A5CA5 #362AA5
triadic
#2A5CA5 #A52A5C #5CA52A
tetradic
#2A5CA5 #A52A99 #A5732A #2AA536
square
#2A5CA5 #A52A99 #A5732A #2AA536
split-complementary
#2A5CA5 #A5362A #99A52A
monochromatic
#112643 #1E4174 #2A5CA5 #3E79CE #6F9BDA

Accessibility & contrast

On white

6.62
#2A5CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A5CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5CA5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CA5#FFFFFF#000000##FFFFFF
##2A5CA51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#2157A4
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5ca5;
/* rgb */ color: rgb(42, 92, 165);
/* oklch */ color: oklch(48.0% 0.129 258.1);
Tailwind
colors: {
  custom: {
    50: '#7489c0',
    500: '#2a5ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ca5;
$custom-light: #7489c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ca5",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 215.61,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.12939,
    "h": 258.1
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#2A5CA5
secondary
#C19E69
accent
#A345E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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