#2A53B5#2A53B5

#2A53B5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.163 H 264.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2A53B5
RGBrgb(42, 83, 181)
HSLhsl(222, 62%, 44%)
HSVhsv(222, 77%, 71%)
CMYKcmyk(76.8%, 54.1%, 0%, 29%)
CIE-LABlab(37.87, 21.31, -56.09)
CIE-LCHlch(37.87, 60.00, 290.80°)
OKLaboklab(47.19% -0.0169 -0.1616)
OKLCHoklch(47.19% 0.163 264)
XYZxyz(12.3856, 10.0135, 44.9871)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53B5 #B58C2A
analogous
#2A98B5 #2A53B5 #462AB5
triadic
#2A53B5 #B52A53 #53B52A
tetradic
#2A53B5 #B52A98 #B58C2A #2AB546
square
#2A53B5 #B52A98 #B58C2A #2AB546
split-complementary
#2A53B5 #B5462A #98B52A
monochromatic
#132552 #1E3C83 #2A53B5 #4871D4 #7998E0

Accessibility & contrast

On white

6.99
#2A53B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2A53B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A53B5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53B5#FFFFFF#000000##FFFFFF
##2A53B51.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a53b5;
/* rgb */ color: rgb(42, 83, 181);
/* oklch */ color: oklch(47.2% 0.163 264.0);
Tailwind
colors: {
  custom: {
    50: '#7882cc',
    500: '#2a53b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a53b5;
$custom-light: #7882cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53b5",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 181
  },
  "hsl": {
    "h": 222.302,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.16252,
    "h": 264
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#2A53B5
secondary
#C8AF73
accent
#B542E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A53B5

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

Preview Lab → · Contrast checker → · Palette generator →

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