#2A55C7#2A55C7

#2A55C7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.184 H 264.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2A55C7
RGBrgb(42, 85, 199)
HSLhsl(224, 65%, 47%)
HSVhsv(224, 79%, 78%)
CMYKcmyk(78.9%, 57.3%, 0%, 22%)
CIE-LABlab(39.77, 26.84, -63.52)
CIE-LCHlch(39.77, 68.96, 292.91°)
OKLaboklab(49.06% -0.0171 -0.1834)
OKLCHoklch(49.06% 0.184 264.7)
XYZxyz(14.5085, 11.1111, 55.4018)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55C7 #C79C2A
analogous
#2AA3C7 #2A55C7 #4E2AC7
triadic
#2A55C7 #C72A55 #55C72A
tetradic
#2A55C7 #C72AA3 #C79C2A #2AC74E
square
#2A55C7 #C72AA3 #C79C2A #2AC74E
split-complementary
#2A55C7 #C74E2A #A3C72A
monochromatic
#152A62 #1F3F94 #2A55C7 #5378DB #86A0E5

Accessibility & contrast

On white

6.52
#2A55C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2A55C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A55C7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55C7#FFFFFF#000000##FFFFFF
##2A55C71.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a55c7;
/* rgb */ color: rgb(42, 85, 199);
/* oklch */ color: oklch(49.1% 0.184 264.7);
Tailwind
colors: {
  custom: {
    50: '#7c84d9',
    500: '#2a55c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a55c7;
$custom-light: #7c84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55c7",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 223.567,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.18424,
    "h": 264.7
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#2A55C7
secondary
#CFB97E
accent
#BA40E8
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2A55C7

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

Preview Lab → · Contrast checker → · Palette generator →

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