#2A50AE#2A50AE

#2A50AE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.157 H 264.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2A50AE
RGBrgb(42, 80, 174)
HSLhsl(223, 61%, 42%)
HSVhsv(223, 76%, 68%)
CMYKcmyk(75.9%, 54%, 0%, 31.8%)
CIE-LABlab(36.53, 20.61, -54.12)
CIE-LCHlch(36.53, 57.92, 290.85°)
OKLaboklab(46.02% -0.0152 -0.1559)
OKLCHoklch(46.02% 0.157 264.4)
XYZxyz(11.4608, 9.2843, 41.2242)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50AE #AE882A
analogous
#2A92AE #2A50AE #462AAE
triadic
#2A50AE #AE2A50 #50AE2A
tetradic
#2A50AE #AE2A92 #AE882A #2AAE46
square
#2A50AE #AE2A92 #AE882A #2AAE46
split-complementary
#2A50AE #AE462A #92AE2A
monochromatic
#12234B #1E397D #2A50AE #436CD2 #7593DE

Accessibility & contrast

On white

7.35
#2A50AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A50AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50AE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50AE#FFFFFF#000000##FFFFFF
##2A50AE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045CB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a50ae;
/* rgb */ color: rgb(42, 80, 174);
/* oklch */ color: oklch(46.0% 0.157 264.4);
Tailwind
colors: {
  custom: {
    50: '#7780c7',
    500: '#2a50ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a50ae;
$custom-light: #7780c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50ae",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 222.727,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.15666,
    "h": 264.4
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#2A50AE
secondary
#C5AC6F
accent
#B644E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A50AE

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

Preview Lab → · Contrast checker → · Palette generator →

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