#2A53BD#2A53BD

#2A53BD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.173 H 264.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2A53BD
RGBrgb(42, 83, 189)
HSLhsl(223, 64%, 45%)
HSVhsv(223, 78%, 74%)
CMYKcmyk(77.8%, 56.1%, 0%, 25.9%)
CIE-LABlab(38.47, 24.36, -59.81)
CIE-LCHlch(38.47, 64.58, 292.16°)
OKLaboklab(47.84% -0.0163 -0.1726)
OKLCHoklch(47.84% 0.173 264.6)
XYZxyz(13.2302, 10.3514, 49.4350)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53BD #BD942A
analogous
#2A9DBD #2A53BD #4A2ABD
triadic
#2A53BD #BD2A53 #53BD2A
tetradic
#2A53BD #BD2A9D #BD942A #2ABD4A
square
#2A53BD #BD2A9D #BD942A #2ABD4A
split-complementary
#2A53BD #BD4A2A #9DBD2A
monochromatic
#142759 #1F3D8B #2A53BD #4D73D7 #7F9BE3

Accessibility & contrast

On white

6.84
#2A53BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A53BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A53BD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53BD#FFFFFF#000000##FFFFFF
##2A53BD1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a53bd;
/* rgb */ color: rgb(42, 83, 189);
/* oklch */ color: oklch(47.8% 0.173 264.6);
Tailwind
colors: {
  custom: {
    50: '#7a82d2',
    500: '#2a53bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a53bd;
$custom-light: #7a82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53bd",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 189
  },
  "hsl": {
    "h": 223.265,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47836,
    "c": 0.17336,
    "h": 264.6
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#2A53BD
secondary
#CBB478
accent
#B841E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2A53BD

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

Preview Lab → · Contrast checker → · Palette generator →

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