#2A53AB#2A53AB

#2A53AB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.149 H 263.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2A53AB
RGBrgb(42, 83, 171)
HSLhsl(221, 61%, 42%)
HSVhsv(221, 75%, 67%)
CMYKcmyk(75.4%, 51.5%, 0%, 32.9%)
CIE-LABlab(37.15, 17.47, -51.34)
CIE-LCHlch(37.15, 54.23, 288.79°)
OKLaboklab(46.42% -0.0179 -0.1477)
OKLCHoklch(46.42% 0.149 263.1)
XYZxyz(11.3962, 9.6178, 39.7760)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53AB #AB822A
analogous
#2A94AB #2A53AB #422AAB
triadic
#2A53AB #AB2A53 #53AB2A
tetradic
#2A53AB #AB2A94 #AB822A #2AAB42
square
#2A53AB #AB2A94 #AB822A #2AAB42
split-complementary
#2A53AB #AB422A #94AB2A
monochromatic
#122349 #1E3B7A #2A53AB #426FD1 #7394DD

Accessibility & contrast

On white

7.18
#2A53AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2A53AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A53AB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53AB#FFFFFF#000000##FFFFFF
##2A53AB1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a53ab;
/* rgb */ color: rgb(42, 83, 171);
/* oklch */ color: oklch(46.4% 0.149 263.1);
Tailwind
colors: {
  custom: {
    50: '#7682c5',
    500: '#2a53ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a53ab;
$custom-light: #7682c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53ab",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 171
  },
  "hsl": {
    "h": 220.93,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.14875,
    "h": 263.1
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A53AB

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

Preview Lab → · Contrast checker → · Palette generator →

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