#2A50BE#2A50BE

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

Color values

HEX#2A50BE
RGBrgb(42, 80, 190)
HSLhsl(225, 64%, 45%)
HSVhsv(225, 78%, 75%)
CMYKcmyk(77.9%, 57.9%, 0%, 25.5%)
CIE-LABlab(37.74, 26.71, -61.57)
CIE-LCHlch(37.74, 67.11, 293.45°)
OKLaboklab(47.32% -0.0142 -0.1778)
OKLCHoklch(47.32% 0.178 265.4)
XYZxyz(13.1145, 9.9458, 49.9338)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50BE #BE982A
analogous
#2A9ABE #2A50BE #4E2ABE
triadic
#2A50BE #BE2A50 #50BE2A
tetradic
#2A50BE #BE2A9A #BE982A #2ABE4E
square
#2A50BE #BE2A9A #BE982A #2ABE4E
split-complementary
#2A50BE #BE4E2A #9ABE2A
monochromatic
#14265A #1F3B8C #2A50BE #4D71D8 #8099E3

Accessibility & contrast

On white

7.02
#2A50BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2A50BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50BE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50BE#FFFFFF#000000##FFFFFF
##2A50BE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a50be;
/* rgb */ color: rgb(42, 80, 190);
/* oklch */ color: oklch(47.3% 0.178 265.4);
Tailwind
colors: {
  custom: {
    50: '#7b80d2',
    500: '#2a50be',
    950: '#000000',
  },
}
SCSS
$custom: #2a50be;
$custom-light: #7b80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50be",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 224.595,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47318,
    "c": 0.17836,
    "h": 265.4
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A50BE

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

Preview Lab → · Contrast checker → · Palette generator →

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