#2A53AC#2A53AC

#2A53AC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.150 H 263.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2A53AC
RGBrgb(42, 83, 172)
HSLhsl(221, 61%, 42%)
HSVhsv(221, 76%, 67%)
CMYKcmyk(75.6%, 51.7%, 0%, 32.5%)
CIE-LABlab(37.22, 17.85, -51.82)
CIE-LCHlch(37.22, 54.81, 289.01°)
OKLaboklab(46.5% -0.0178 -0.1491)
OKLCHoklch(46.5% 0.15 263.2)
XYZxyz(11.4918, 9.6560, 40.2799)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53AC #AC832A
analogous
#2A94AC #2A53AC #422AAC
triadic
#2A53AC #AC2A53 #53AC2A
tetradic
#2A53AC #AC2A94 #AC832A #2AAC42
square
#2A53AC #AC2A94 #AC832A #2AAC42
split-complementary
#2A53AC #AC422A #94AC2A
monochromatic
#12244A #1E3B7B #2A53AC #426FD1 #7395DD

Accessibility & contrast

On white

7.16
#2A53AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2A53AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A53AC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53AC#FFFFFF#000000##FFFFFF
##2A53AC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a53ac;
/* rgb */ color: rgb(42, 83, 172);
/* oklch */ color: oklch(46.5% 0.150 263.2);
Tailwind
colors: {
  custom: {
    50: '#7682c5',
    500: '#2a53ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a53ac;
$custom-light: #7682c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53ac",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 172
  },
  "hsl": {
    "h": 221.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.15014,
    "h": 263.2
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#2A53AC
secondary
#C4A96D
accent
#B144E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A53AC

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

Preview Lab → · Contrast checker → · Palette generator →

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