#2A53B1#2A53B1

#2A53B1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.157 H 263.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2A53B1
RGBrgb(42, 83, 177)
HSLhsl(222, 62%, 43%)
HSVhsv(222, 76%, 69%)
CMYKcmyk(76.3%, 53.1%, 0%, 30.6%)
CIE-LABlab(37.57, 19.77, -54.20)
CIE-LCHlch(37.57, 57.70, 290.04°)
OKLaboklab(46.88% -0.0173 -0.1561)
OKLCHoklch(46.88% 0.157 263.7)
XYZxyz(11.9811, 9.8517, 42.8566)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53B1 #B1882A
analogous
#2A96B1 #2A53B1 #452AB1
triadic
#2A53B1 #B12A53 #53B12A
tetradic
#2A53B1 #B12A96 #B1882A #2AB145
square
#2A53B1 #B12A96 #B1882A #2AB145
split-complementary
#2A53B1 #B1452A #96B12A
monochromatic
#13254E #1E3C80 #2A53B1 #4570D3 #7796DF

Accessibility & contrast

On white

7.07
#2A53B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2A53B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A53B1
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53B1#FFFFFF#000000##FFFFFF
##2A53B11.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a53b1;
/* rgb */ color: rgb(42, 83, 177);
/* oklch */ color: oklch(46.9% 0.157 263.7);
Tailwind
colors: {
  custom: {
    50: '#7782c9',
    500: '#2a53b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a53b1;
$custom-light: #7782c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53b1",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 177
  },
  "hsl": {
    "h": 221.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.15704,
    "h": 263.7
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#2A53B1
secondary
#C6AC70
accent
#B443E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A53B1

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

Preview Lab → · Contrast checker → · Palette generator →

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