#2A53B9#2A53B9

#2A53B9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.168 H 264.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2A53B9
RGBrgb(42, 83, 185)
HSLhsl(223, 63%, 45%)
HSVhsv(223, 77%, 73%)
CMYKcmyk(77.3%, 55.1%, 0%, 27.5%)
CIE-LABlab(38.16, 22.84, -57.96)
CIE-LCHlch(38.16, 62.29, 291.50°)
OKLaboklab(47.51% -0.0166 -0.1671)
OKLCHoklch(47.51% 0.168 264.3)
XYZxyz(12.8019, 10.1801, 47.1798)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53B9 #B9902A
analogous
#2A9BB9 #2A53B9 #482AB9
triadic
#2A53B9 #B92A53 #53B92A
tetradic
#2A53B9 #B92A9B #B9902A #2AB948
square
#2A53B9 #B92A9B #B9902A #2AB948
split-complementary
#2A53B9 #B9482A #9BB92A
monochromatic
#132655 #1F3D87 #2A53B9 #4A72D6 #7C99E1

Accessibility & contrast

On white

6.92
#2A53B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2A53B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A53B9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53B9#FFFFFF#000000##FFFFFF
##2A53B91.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a53b9;
/* rgb */ color: rgb(42, 83, 185);
/* oklch */ color: oklch(47.5% 0.168 264.3);
Tailwind
colors: {
  custom: {
    50: '#7982cf',
    500: '#2a53b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a53b9;
$custom-light: #7982cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53b9",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 185
  },
  "hsl": {
    "h": 222.797,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.16796,
    "h": 264.3
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#2A53B9
secondary
#CAB175
accent
#B742E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2A53B9

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

Preview Lab → · Contrast checker → · Palette generator →

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