#2A55BD#2A55BD

#2A55BD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.171 H 264.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2A55BD
RGBrgb(42, 85, 189)
HSLhsl(222, 64%, 45%)
HSVhsv(222, 78%, 74%)
CMYKcmyk(77.8%, 55%, 0%, 25.9%)
CIE-LABlab(39.00, 23.05, -58.93)
CIE-LCHlch(39.00, 63.28, 291.36°)
OKLaboklab(48.24% -0.0177 -0.17)
OKLCHoklch(48.24% 0.171 264.1)
XYZxyz(13.3854, 10.6618, 49.4867)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55BD #BD922A
analogous
#2A9EBD #2A55BD #492ABD
triadic
#2A55BD #BD2A55 #55BD2A
tetradic
#2A55BD #BD2A9E #BD922A #2ABD49
square
#2A55BD #BD2A9E #BD922A #2ABD49
split-complementary
#2A55BD #BD492A #9EBD2A
monochromatic
#142859 #1F3E8B #2A55BD #4D75D7 #7F9CE3

Accessibility & contrast

On white

6.70
#2A55BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A55BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A55BD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55BD#FFFFFF#000000##FFFFFF
##2A55BD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a55bd;
/* rgb */ color: rgb(42, 85, 189);
/* oklch */ color: oklch(48.2% 0.171 264.1);
Tailwind
colors: {
  custom: {
    50: '#7a84d2',
    500: '#2a55bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a55bd;
$custom-light: #7a84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55bd",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 222.449,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48242,
    "c": 0.1709,
    "h": 264.1
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#2A55BD
secondary
#CBB378
accent
#B641E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2A55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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