#2A5CA3#2A5CA3

#2A5CA3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.8% C 0.127 H 257.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2A5CA3
RGBrgb(42, 92, 163)
HSLhsl(215, 59%, 40%)
HSVhsv(215, 74%, 64%)
CMYKcmyk(74.2%, 43.6%, 0%, 36.1%)
CIE-LABlab(39.22, 8.48, -43.24)
CIE-LCHlch(39.22, 44.07, 281.09°)
OKLaboklab(47.85% -0.0271 -0.1237)
OKLCHoklch(47.85% 0.127 257.6)
XYZxyz(11.3904, 10.7896, 36.1255)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CA3 #A3712A
analogous
#2A98A3 #2A5CA3 #352AA3
triadic
#2A5CA3 #A32A5C #5CA32A
tetradic
#2A5CA3 #A32A98 #A3712A #2AA335
square
#2A5CA3 #A32A98 #A3712A #2AA335
split-complementary
#2A5CA3 #A3352A #98A32A
monochromatic
#112542 #1D4172 #2A5CA3 #3D79CD #6E9ADA

Accessibility & contrast

On white

6.65
#2A5CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2A5CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5CA3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CA3#FFFFFF#000000##FFFFFF
##2A5CA31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A6
Deuteranopia (green-blind)
#2357A2
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5ca3;
/* rgb */ color: rgb(42, 92, 163);
/* oklch */ color: oklch(47.8% 0.127 257.6);
Tailwind
colors: {
  custom: {
    50: '#7489bf',
    500: '#2a5ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ca3;
$custom-light: #7489bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ca3",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 215.207,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.12662,
    "h": 257.6
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#2A5CA3
secondary
#C09C68
accent
#A146E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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