#2A53B7#2A53B7

#2A53B7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.165 H 264.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2A53B7
RGBrgb(42, 83, 183)
HSLhsl(223, 63%, 44%)
HSVhsv(223, 77%, 72%)
CMYKcmyk(77%, 54.6%, 0%, 28.2%)
CIE-LABlab(38.01, 22.07, -57.02)
CIE-LCHlch(38.01, 61.15, 291.16°)
OKLaboklab(47.35% -0.0167 -0.1644)
OKLCHoklch(47.35% 0.165 264.2)
XYZxyz(12.5923, 10.0962, 46.0757)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A53B7 #B78E2A
analogous
#2A9AB7 #2A53B7 #472AB7
triadic
#2A53B7 #B72A53 #53B72A
tetradic
#2A53B7 #B72A9A #B78E2A #2AB747
square
#2A53B7 #B72A9A #B78E2A #2AB747
split-complementary
#2A53B7 #B7472A #9AB72A
monochromatic
#132653 #1F3C85 #2A53B7 #4972D5 #7B98E1

Accessibility & contrast

On white

6.95
#2A53B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2A53B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A53B7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A53B7#FFFFFF#000000##FFFFFF
##2A53B71.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a53b7;
/* rgb */ color: rgb(42, 83, 183);
/* oklch */ color: oklch(47.4% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#7982cd',
    500: '#2a53b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a53b7;
$custom-light: #7982cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a53b7",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 183
  },
  "hsl": {
    "h": 222.553,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.16525,
    "h": 264.2
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#2A53B7
secondary
#C9B074
accent
#B642E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2A53B7

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

Preview Lab → · Contrast checker → · Palette generator →

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