#2A53A4#2A53A4

#2A53A4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.139 H 262.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2A53A4
RGBrgb(42, 83, 164)
HSLhsl(220, 59%, 40%)
HSVhsv(220, 74%, 64%)
CMYKcmyk(74.4%, 49.4%, 0%, 35.7%)
CIE-LABlab(36.66, 14.77, -47.95)
CIE-LCHlch(36.66, 50.17, 287.13°)
OKLaboklab(45.9% -0.0188 -0.1377)
OKLCHoklch(45.9% 0.139 262.2)
XYZxyz(10.7465, 9.3579, 36.3546)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53A4 #A47B2A
analogous
#2A90A4 #2A53A4 #3E2AA4
triadic
#2A53A4 #A42A53 #53A42A
tetradic
#2A53A4 #A42A90 #A47B2A #2AA43E
square
#2A53A4 #A42A90 #A47B2A #2AA43E
split-complementary
#2A53A4 #A43E2A #90A42A
monochromatic
#112243 #1E3A73 #2A53A4 #3E6ECD #6E93DA

Accessibility & contrast

On white

7.31
#2A53A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2A53A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A53A4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53A4#FFFFFF#000000##FFFFFF
##2A53A41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a53a4;
/* rgb */ color: rgb(42, 83, 164);
/* oklch */ color: oklch(45.9% 0.139 262.2);
Tailwind
colors: {
  custom: {
    50: '#7482bf',
    500: '#2a53a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a53a4;
$custom-light: #7482bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53a4",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 164
  },
  "hsl": {
    "h": 219.836,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.13897,
    "h": 262.2
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#2A53A4
secondary
#C1A369
accent
#AE45E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A53A4

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

Preview Lab → · Contrast checker → · Palette generator →

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