#2A50B0#2A50B0

#2A50B0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.159 H 264.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2A50B0
RGBrgb(42, 80, 176)
HSLhsl(223, 61%, 43%)
HSVhsv(223, 76%, 69%)
CMYKcmyk(76.1%, 54.5%, 0%, 31%)
CIE-LABlab(36.67, 21.38, -55.07)
CIE-LCHlch(36.67, 59.07, 291.22°)
OKLaboklab(46.18% -0.015 -0.1587)
OKLCHoklch(46.18% 0.159 264.6)
XYZxyz(11.6572, 9.3629, 42.2587)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50B0 #B08A2A
analogous
#2A93B0 #2A50B0 #472AB0
triadic
#2A50B0 #B02A50 #50B02A
tetradic
#2A50B0 #B02A93 #B08A2A #2AB047
square
#2A50B0 #B02A93 #B08A2A #2AB047
split-complementary
#2A50B0 #B0472A #93B02A
monochromatic
#12234D #1E3A7F #2A50B0 #456DD3 #7694DE

Accessibility & contrast

On white

7.31
#2A50B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2A50B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50B0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50B0#FFFFFF#000000##FFFFFF
##2A50B01.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a50b0;
/* rgb */ color: rgb(42, 80, 176);
/* oklch */ color: oklch(46.2% 0.159 264.6);
Tailwind
colors: {
  custom: {
    50: '#7780c8',
    500: '#2a50b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a50b0;
$custom-light: #7780c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50b0",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 176
  },
  "hsl": {
    "h": 222.985,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46175,
    "c": 0.15941,
    "h": 264.6
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#2A50B0
secondary
#C6AE70
accent
#B743E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A50B0

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

Preview Lab → · Contrast checker → · Palette generator →

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