#2A55B9#2A55B9

#2A55B9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.166 H 263.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2A55B9
RGBrgb(42, 85, 185)
HSLhsl(222, 63%, 45%)
HSVhsv(222, 77%, 73%)
CMYKcmyk(77.3%, 54.1%, 0%, 27.5%)
CIE-LABlab(38.71, 21.52, -57.07)
CIE-LCHlch(38.71, 60.99, 290.66°)
OKLaboklab(47.93% -0.018 -0.1645)
OKLCHoklch(47.93% 0.166 263.7)
XYZxyz(12.9572, 10.4905, 47.2315)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55B9 #B98E2A
analogous
#2A9DB9 #2A55B9 #462AB9
triadic
#2A55B9 #B92A55 #55B92A
tetradic
#2A55B9 #B92A9D #B98E2A #2AB946
square
#2A55B9 #B92A9D #B98E2A #2AB946
split-complementary
#2A55B9 #B9462A #9DB92A
monochromatic
#132755 #1F3E87 #2A55B9 #4A74D6 #7C9BE1

Accessibility & contrast

On white

6.78
#2A55B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A55B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A55B9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55B9#FFFFFF#000000##FFFFFF
##2A55B91.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a55b9;
/* rgb */ color: rgb(42, 85, 185);
/* oklch */ color: oklch(47.9% 0.166 263.7);
Tailwind
colors: {
  custom: {
    50: '#7984cf',
    500: '#2a55b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a55b9;
$custom-light: #7984cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55b9",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 185
  },
  "hsl": {
    "h": 221.958,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.1655,
    "h": 263.7
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#2A55B9
secondary
#CAB075
accent
#B542E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2A55B9

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

Preview Lab → · Contrast checker → · Palette generator →

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