#2A5CA9#2A5CA9

#2A5CA9 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.135 H 258.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2A5CA9
RGBrgb(42, 92, 169)
HSLhsl(216, 60%, 41%)
HSVhsv(216, 75%, 66%)
CMYKcmyk(75.1%, 45.6%, 0%, 33.7%)
CIE-LABlab(39.60, 10.78, -46.21)
CIE-LCHlch(39.60, 47.45, 283.13°)
OKLaboklab(48.26% -0.0259 -0.1324)
OKLCHoklch(48.26% 0.135 258.9)
XYZxyz(11.9408, 11.0098, 39.0242)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CA9 #A9772A
analogous
#2A9CA9 #2A5CA9 #382AA9
triadic
#2A5CA9 #A92A5C #5CA92A
tetradic
#2A5CA9 #A92A9C #A9772A #2AA938
square
#2A5CA9 #A92A9C #A9772A #2AA938
split-complementary
#2A5CA9 #A9382A #9CA92A
monochromatic
#122747 #1E4178 #2A5CA9 #4179D0 #729BDC

Accessibility & contrast

On white

6.56
#2A5CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2A5CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5CA9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CA9#FFFFFF#000000##FFFFFF
##2A5CA91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AC
Deuteranopia (green-blind)
#1A58A7
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5ca9;
/* rgb */ color: rgb(42, 92, 169);
/* oklch */ color: oklch(48.3% 0.135 258.9);
Tailwind
colors: {
  custom: {
    50: '#7589c3',
    500: '#2a5ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ca9;
$custom-light: #7589c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ca9",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 216.378,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.13492,
    "h": 258.9
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#2A5CA9
secondary
#C3A16C
accent
#A544E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2A5CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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