#2A53B6#2A53B6

#2A53B6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.164 H 264.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2A53B6
RGBrgb(42, 83, 182)
HSLhsl(222, 63%, 44%)
HSVhsv(222, 77%, 71%)
CMYKcmyk(76.9%, 54.4%, 0%, 28.6%)
CIE-LABlab(37.94, 21.69, -56.56)
CIE-LCHlch(37.94, 60.57, 290.98°)
OKLaboklab(47.27% -0.0168 -0.163)
OKLCHoklch(47.27% 0.164 264.1)
XYZxyz(12.4886, 10.0547, 45.5295)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53B6 #B68D2A
analogous
#2A99B6 #2A53B6 #472AB6
triadic
#2A53B6 #B62A53 #53B62A
tetradic
#2A53B6 #B62A99 #B68D2A #2AB647
square
#2A53B6 #B62A99 #B68D2A #2AB647
split-complementary
#2A53B6 #B6472A #99B62A
monochromatic
#132653 #1F3C84 #2A53B6 #4871D5 #7A98E0

Accessibility & contrast

On white

6.97
#2A53B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A53B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A53B6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53B6#FFFFFF#000000##FFFFFF
##2A53B61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a53b6;
/* rgb */ color: rgb(42, 83, 182);
/* oklch */ color: oklch(47.3% 0.164 264.1);
Tailwind
colors: {
  custom: {
    50: '#7982cd',
    500: '#2a53b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a53b6;
$custom-light: #7982cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53b6",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 182
  },
  "hsl": {
    "h": 222.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.16388,
    "h": 264.1
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#2A53B6
secondary
#C8B073
accent
#B642E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A53B6

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

Preview Lab → · Contrast checker → · Palette generator →

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