#2A53B2#2A53B2

#2A53B2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.158 H 263.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2A53B2
RGBrgb(42, 83, 178)
HSLhsl(222, 62%, 43%)
HSVhsv(222, 76%, 70%)
CMYKcmyk(76.4%, 53.4%, 0%, 30.2%)
CIE-LABlab(37.65, 20.16, -54.67)
CIE-LCHlch(37.65, 58.27, 290.24°)
OKLaboklab(46.96% -0.0172 -0.1575)
OKLCHoklch(46.96% 0.158 263.8)
XYZxyz(12.0811, 9.8917, 43.3834)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53B2 #B2892A
analogous
#2A97B2 #2A53B2 #452AB2
triadic
#2A53B2 #B22A53 #53B22A
tetradic
#2A53B2 #B22A97 #B2892A #2AB245
square
#2A53B2 #B22A97 #B2892A #2AB245
split-complementary
#2A53B2 #B2452A #97B22A
monochromatic
#13254F #1E3C80 #2A53B2 #4671D3 #7797DF

Accessibility & contrast

On white

7.05
#2A53B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2A53B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A53B2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53B2#FFFFFF#000000##FFFFFF
##2A53B21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5FB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a53b2;
/* rgb */ color: rgb(42, 83, 178);
/* oklch */ color: oklch(47.0% 0.158 263.8);
Tailwind
colors: {
  custom: {
    50: '#7882ca',
    500: '#2a53b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a53b2;
$custom-light: #7882ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53b2",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 221.912,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.15842,
    "h": 263.8
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A53B2

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

Preview Lab → · Contrast checker → · Palette generator →

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