#2A50A9#2A50A9

#2A50A9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.150 H 264.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2A50A9
RGBrgb(42, 80, 169)
HSLhsl(222, 60%, 41%)
HSVhsv(222, 75%, 66%)
CMYKcmyk(75.1%, 52.7%, 0%, 33.7%)
CIE-LABlab(36.16, 18.69, -51.74)
CIE-LCHlch(36.16, 55.01, 289.86°)
OKLaboklab(45.63% -0.0157 -0.1489)
OKLCHoklch(45.63% 0.15 264)
XYZxyz(10.9824, 9.0929, 38.7047)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50A9 #A9832A
analogous
#2A90A9 #2A50A9 #432AA9
triadic
#2A50A9 #A92A50 #50A92A
tetradic
#2A50A9 #A92A90 #A9832A #2AA943
square
#2A50A9 #A92A90 #A9832A #2AA943
split-complementary
#2A50A9 #A9432A #90A92A
monochromatic
#122247 #1E3978 #2A50A9 #416BD0 #7291DC

Accessibility & contrast

On white

7.45
#2A50A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2A50A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50A9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50A9#FFFFFF#000000##FFFFFF
##2A50A91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135BAC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a50a9;
/* rgb */ color: rgb(42, 80, 169);
/* oklch */ color: oklch(45.6% 0.150 264.0);
Tailwind
colors: {
  custom: {
    50: '#7680c3',
    500: '#2a50a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a50a9;
$custom-light: #7680c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50a9",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 169
  },
  "hsl": {
    "h": 222.047,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.14974,
    "h": 264
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#2A50A9
secondary
#C3A96C
accent
#B444E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A50A9

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

Preview Lab → · Contrast checker → · Palette generator →

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