#2D50A2#2D50A2

#2D50A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.139 H 264.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2D50A2
RGBrgb(45, 80, 162)
HSLhsl(222, 57%, 41%)
HSVhsv(222, 72%, 64%)
CMYKcmyk(72.2%, 50.6%, 0%, 36.5%)
CIE-LABlab(35.80, 16.43, -48.14)
CIE-LCHlch(35.80, 50.87, 288.84°)
OKLaboklab(45.23% -0.014 -0.1383)
OKLCHoklch(45.23% 0.139 264.2)
XYZxyz(10.4701, 8.9027, 35.3420)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50A2 #A27F2D
analogous
#2D8AA2 #2D50A2 #442DA2
triadic
#2D50A2 #A22D50 #50A22D
tetradic
#2D50A2 #A22D8A #A27F2D #2DA244
square
#2D50A2 #A22D8A #A27F2D #2DA244
split-complementary
#2D50A2 #A2442D #8AA22D
monochromatic
#122142 #203872 #2D50A2 #426BCA #7290D8

Accessibility & contrast

On white

7.55
#2D50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2D50A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D50A2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50A2#FFFFFF#000000##FFFFFF
##2D50A21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d50a2;
/* rgb */ color: rgb(45, 80, 162);
/* oklch */ color: oklch(45.2% 0.139 264.2);
Tailwind
colors: {
  custom: {
    50: '#7580be',
    500: '#2d50a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d50a2;
$custom-light: #7580be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50a2",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 222.051,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45225,
    "c": 0.13898,
    "h": 264.2
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#2D50A2
secondary
#BFA66C
accent
#B248E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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