#2A55B0#2A55B0

#2A55B0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.153 H 262.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2A55B0
RGBrgb(42, 85, 176)
HSLhsl(221, 61%, 43%)
HSVhsv(221, 76%, 69%)
CMYKcmyk(76.1%, 51.7%, 0%, 31%)
CIE-LABlab(38.06, 18.07, -52.82)
CIE-LCHlch(38.06, 55.83, 288.88°)
OKLaboklab(47.23% -0.019 -0.152)
OKLCHoklch(47.23% 0.153 262.9)
XYZxyz(12.0370, 10.1225, 42.3853)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55B0 #B0852A
analogous
#2A98B0 #2A55B0 #422AB0
triadic
#2A55B0 #B02A55 #55B02A
tetradic
#2A55B0 #B02A98 #B0852A #2AB042
square
#2A55B0 #B02A98 #B0852A #2AB042
split-complementary
#2A55B0 #B0422A #98B02A
monochromatic
#12254D #1E3D7F #2A55B0 #4572D3 #7698DE

Accessibility & contrast

On white

6.94
#2A55B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2A55B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A55B0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55B0#FFFFFF#000000##FFFFFF
##2A55B01.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a55b0;
/* rgb */ color: rgb(42, 85, 176);
/* oklch */ color: oklch(47.2% 0.153 262.9);
Tailwind
colors: {
  custom: {
    50: '#7784c8',
    500: '#2a55b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a55b0;
$custom-light: #7784c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55b0",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 176
  },
  "hsl": {
    "h": 220.746,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.15318,
    "h": 262.9
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#2A55B0
secondary
#C6AA70
accent
#B143E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A55B0

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

Preview Lab → · Contrast checker → · Palette generator →

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