#2A5CA8#2A5CA8

#2A5CA8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.134 H 258.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2A5CA8
RGBrgb(42, 92, 168)
HSLhsl(216, 60%, 41%)
HSVhsv(216, 75%, 66%)
CMYKcmyk(75%, 45.2%, 0%, 34.1%)
CIE-LABlab(39.53, 10.39, -45.72)
CIE-LCHlch(39.53, 46.88, 282.81°)
OKLaboklab(48.19% -0.0261 -0.131)
OKLCHoklch(48.19% 0.134 258.7)
XYZxyz(11.8473, 10.9724, 38.5317)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CA8 #A8762A
analogous
#2A9BA8 #2A5CA8 #372AA8
triadic
#2A5CA8 #A82A5C #5CA82A
tetradic
#2A5CA8 #A82A9B #A8762A #2AA837
square
#2A5CA8 #A82A9B #A8762A #2AA837
split-complementary
#2A5CA8 #A8372A #9BA82A
monochromatic
#122646 #1E4177 #2A5CA8 #4079CF #719BDB

Accessibility & contrast

On white

6.57
#2A5CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2A5CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5CA8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CA8#FFFFFF#000000##FFFFFF
##2A5CA81.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AB
Deuteranopia (green-blind)
#1C58A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5ca8;
/* rgb */ color: rgb(42, 92, 168);
/* oklch */ color: oklch(48.2% 0.134 258.7);
Tailwind
colors: {
  custom: {
    50: '#7589c2',
    500: '#2a5ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ca8;
$custom-light: #7589c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ca8",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 216.19,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.13354,
    "h": 258.7
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#2A5CA8
secondary
#C3A06B
accent
#A445E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2A5CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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