#2A5CC1#2A5CC1

#2A5CC1 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.168 H 262.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2A5CC1
RGBrgb(42, 92, 193)
HSLhsl(220, 64%, 46%)
HSVhsv(220, 78%, 76%)
CMYKcmyk(78.2%, 52.3%, 0%, 24.3%)
CIE-LABlab(41.21, 19.99, -57.69)
CIE-LCHlch(41.21, 61.06, 289.11°)
OKLaboklab(50.01% -0.0224 -0.1662)
OKLCHoklch(50.01% 0.168 262.3)
XYZxyz(14.4042, 11.9951, 51.9979)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CC1 #C18F2A
analogous
#2AA7C1 #2A5CC1 #432AC1
triadic
#2A5CC1 #C12A5C #5CC12A
tetradic
#2A5CC1 #C12AA7 #C18F2A #2AC143
square
#2A5CC1 #C12AA7 #C18F2A #2AC143
split-complementary
#2A5CC1 #C1432A #A7C12A
monochromatic
#142C5C #1F448F #2A5CC1 #4F7DD9 #82A2E4

Accessibility & contrast

On white

6.18
#2A5CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2A5CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5CC1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CC1#FFFFFF#000000##FFFFFF
##2A5CC11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1468C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a5cc1;
/* rgb */ color: rgb(42, 92, 193);
/* oklch */ color: oklch(50.0% 0.168 262.3);
Tailwind
colors: {
  custom: {
    50: '#7b89d4',
    500: '#2a5cc1',
    950: '#000000',
  },
}
SCSS
$custom: #2a5cc1;
$custom-light: #7b89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5cc1",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 220.132,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.16771,
    "h": 262.3
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#2A5CC1
secondary
#CDB17A
accent
#B041E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A5CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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