#2A50A3#2A50A3

#2A50A3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.141 H 263.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2A50A3
RGBrgb(42, 80, 163)
HSLhsl(221, 59%, 40%)
HSVhsv(221, 74%, 64%)
CMYKcmyk(74.2%, 50.9%, 0%, 36.1%)
CIE-LABlab(35.74, 16.38, -48.84)
CIE-LCHlch(35.74, 51.52, 288.54°)
OKLaboklab(45.17% -0.0164 -0.1404)
OKLCHoklch(45.17% 0.141 263.3)
XYZxyz(10.4320, 8.8728, 35.8061)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50A3 #A37D2A
analogous
#2A8CA3 #2A50A3 #412AA3
triadic
#2A50A3 #A32A50 #50A32A
tetradic
#2A50A3 #A32A8C #A37D2A #2AA341
square
#2A50A3 #A32A8C #A37D2A #2AA341
split-complementary
#2A50A3 #A3412A #8CA32A
monochromatic
#112042 #1D3872 #2A50A3 #3D6ACD #6E90DA

Accessibility & contrast

On white

7.57
#2A50A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2A50A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50A3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50A3#FFFFFF#000000##FFFFFF
##2A50A31.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a50a3;
/* rgb */ color: rgb(42, 80, 163);
/* oklch */ color: oklch(45.2% 0.141 263.3);
Tailwind
colors: {
  custom: {
    50: '#7480bf',
    500: '#2a50a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a50a3;
$custom-light: #7480bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50a3",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 163
  },
  "hsl": {
    "h": 221.157,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.14133,
    "h": 263.3
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#2A50A3
secondary
#C0A568
accent
#B146E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A50A3

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

Preview Lab → · Contrast checker → · Palette generator →

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