#2A50AD#2A50AD

#2A50AD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.155 H 264.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2A50AD
RGBrgb(42, 80, 173)
HSLhsl(223, 61%, 42%)
HSVhsv(223, 76%, 68%)
CMYKcmyk(75.7%, 53.8%, 0%, 32.2%)
CIE-LABlab(36.45, 20.23, -53.65)
CIE-LCHlch(36.45, 57.34, 290.66°)
OKLaboklab(45.94% -0.0153 -0.1545)
OKLCHoklch(45.94% 0.155 264.3)
XYZxyz(11.3637, 9.2454, 40.7127)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50AD #AD872A
analogous
#2A92AD #2A50AD #452AAD
triadic
#2A50AD #AD2A50 #50AD2A
tetradic
#2A50AD #AD2A92 #AD872A #2AAD45
square
#2A50AD #AD2A92 #AD872A #2AAD45
split-complementary
#2A50AD #AD452A #92AD2A
monochromatic
#12224B #1E397C #2A50AD #436CD1 #7493DD

Accessibility & contrast

On white

7.37
#2A50AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2A50AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50AD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50AD#FFFFFF#000000##FFFFFF
##2A50AD1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085CB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a50ad;
/* rgb */ color: rgb(42, 80, 173);
/* oklch */ color: oklch(45.9% 0.155 264.3);
Tailwind
colors: {
  custom: {
    50: '#7780c6',
    500: '#2a50ad',
    950: '#000000',
  },
}
SCSS
$custom: #2a50ad;
$custom-light: #7780c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50ad",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 173
  },
  "hsl": {
    "h": 222.595,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.15529,
    "h": 264.3
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A50AD

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

Preview Lab → · Contrast checker → · Palette generator →

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