#2A50AA#2A50AA

#2A50AA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.151 H 264.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2A50AA
RGBrgb(42, 80, 170)
HSLhsl(222, 60%, 42%)
HSVhsv(222, 75%, 67%)
CMYKcmyk(75.3%, 52.9%, 0%, 33.3%)
CIE-LABlab(36.23, 19.08, -52.22)
CIE-LCHlch(36.23, 55.60, 290.07°)
OKLaboklab(45.7% -0.0156 -0.1503)
OKLCHoklch(45.7% 0.151 264.1)
XYZxyz(11.0766, 9.1306, 39.2010)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50AA #AA842A
analogous
#2A90AA #2A50AA #442AAA
triadic
#2A50AA #AA2A50 #50AA2A
tetradic
#2A50AA #AA2A90 #AA842A #2AAA44
square
#2A50AA #AA2A90 #AA842A #2AAA44
split-complementary
#2A50AA #AA442A #90AA2A
monochromatic
#122248 #1E3979 #2A50AA #416CD0 #7292DC

Accessibility & contrast

On white

7.43
#2A50AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2A50AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50AA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50AA#FFFFFF#000000##FFFFFF
##2A50AA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115BAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a50aa;
/* rgb */ color: rgb(42, 80, 170);
/* oklch */ color: oklch(45.7% 0.151 264.1);
Tailwind
colors: {
  custom: {
    50: '#7680c4',
    500: '#2a50aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a50aa;
$custom-light: #7680c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50aa",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 222.188,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.15113,
    "h": 264.1
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#2A50AA
secondary
#C3AA6C
accent
#B444E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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