#2A50BD#2A50BD

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

Color values

HEX#2A50BD
RGBrgb(42, 80, 189)
HSLhsl(224, 64%, 45%)
HSVhsv(224, 78%, 74%)
CMYKcmyk(77.8%, 57.7%, 0%, 25.9%)
CIE-LABlab(37.67, 26.33, -61.11)
CIE-LCHlch(37.67, 66.54, 293.31°)
OKLaboklab(47.23% -0.0142 -0.1765)
OKLCHoklch(47.23% 0.177 265.4)
XYZxyz(13.0056, 9.9022, 49.3601)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50BD #BD972A
analogous
#2A99BD #2A50BD #4E2ABD
triadic
#2A50BD #BD2A50 #50BD2A
tetradic
#2A50BD #BD2A99 #BD972A #2ABD4E
square
#2A50BD #BD2A99 #BD972A #2ABD4E
split-complementary
#2A50BD #BD4E2A #99BD2A
monochromatic
#142659 #1F3B8B #2A50BD #4D71D7 #7F99E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A50BD#FFFFFF#000000##FFFFFF
##2A50BD1.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)
#0060C1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a50bd;
/* rgb */ color: rgb(42, 80, 189);
/* oklch */ color: oklch(47.2% 0.177 265.4);
Tailwind
colors: {
  custom: {
    50: '#7a80d2',
    500: '#2a50bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a50bd;
$custom-light: #7a80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50bd",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 224.49,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.17703,
    "h": 265.4
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#2A50BD
secondary
#CBB678
accent
#BC41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2A50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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