#2A55BB#2A55BB

#2A55BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.168 H 263.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2A55BB
RGBrgb(42, 85, 187)
HSLhsl(222, 63%, 45%)
HSVhsv(222, 78%, 73%)
CMYKcmyk(77.5%, 54.5%, 0%, 26.7%)
CIE-LABlab(38.86, 22.28, -58.01)
CIE-LCHlch(38.86, 62.14, 291.01°)
OKLaboklab(48.08% -0.0179 -0.1672)
OKLCHoklch(48.08% 0.168 263.9)
XYZxyz(13.1698, 10.5756, 48.3513)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55BB #BB902A
analogous
#2A9EBB #2A55BB #482ABB
triadic
#2A55BB #BB2A55 #55BB2A
tetradic
#2A55BB #BB2A9E #BB902A #2ABB48
square
#2A55BB #BB2A9E #BB902A #2ABB48
split-complementary
#2A55BB #BB482A #9EBB2A
monochromatic
#142857 #1F3E89 #2A55BB #4C75D7 #7D9BE2

Accessibility & contrast

On white

6.74
#2A55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2A55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A55BB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55BB#FFFFFF#000000##FFFFFF
##2A55BB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a55bb;
/* rgb */ color: rgb(42, 85, 187);
/* oklch */ color: oklch(48.1% 0.168 263.9);
Tailwind
colors: {
  custom: {
    50: '#7a84d0',
    500: '#2a55bb',
    950: '#000000',
  },
}
SCSS
$custom: #2a55bb;
$custom-light: #7a84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55bb",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 222.207,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.1682,
    "h": 263.9
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#2A55BB
secondary
#CAB176
accent
#B541E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2A55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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