#2A5CA6#2A5CA6

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

Color values

HEX#2A5CA6
RGBrgb(42, 92, 166)
HSLhsl(216, 60%, 41%)
HSVhsv(216, 75%, 65%)
CMYKcmyk(74.7%, 44.6%, 0%, 34.9%)
CIE-LABlab(39.41, 9.63, -44.73)
CIE-LCHlch(39.41, 45.76, 282.15°)
OKLaboklab(48.05% -0.0265 -0.1281)
OKLCHoklch(48.05% 0.131 258.3)
XYZxyz(11.6624, 10.8984, 37.5580)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CA6 #A6742A
analogous
#2A9AA6 #2A5CA6 #362AA6
triadic
#2A5CA6 #A62A5C #5CA62A
tetradic
#2A5CA6 #A62A9A #A6742A #2AA636
square
#2A5CA6 #A62A9A #A6742A #2AA636
split-complementary
#2A5CA6 #A6362A #9AA62A
monochromatic
#112644 #1E4175 #2A5CA6 #3F79CE #709BDB

Accessibility & contrast

On white

6.60
#2A5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2A5CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5CA6
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CA6#FFFFFF#000000##FFFFFF
##2A5CA61.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#1F58A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5ca6;
/* rgb */ color: rgb(42, 92, 166);
/* oklch */ color: oklch(48.0% 0.131 258.3);
Tailwind
colors: {
  custom: {
    50: '#7589c1',
    500: '#2a5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ca6;
$custom-light: #7589c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ca6",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 215.806,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4805,
    "c": 0.13077,
    "h": 258.3
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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