#2A55C3#2A55C3

#2A55C3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.179 H 264.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2A55C3
RGBrgb(42, 85, 195)
HSLhsl(223, 65%, 46%)
HSVhsv(223, 78%, 76%)
CMYKcmyk(78.5%, 56.4%, 0%, 23.5%)
CIE-LABlab(39.46, 25.33, -61.70)
CIE-LCHlch(39.46, 66.69, 292.32°)
OKLaboklab(48.73% -0.0173 -0.1781)
OKLCHoklch(48.73% 0.179 264.5)
XYZxyz(14.0502, 10.9277, 52.9879)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55C3 #C3982A
analogous
#2AA2C3 #2A55C3 #4B2AC3
triadic
#2A55C3 #C32A55 #55C32A
tetradic
#2A55C3 #C32AA2 #C3982A #2AC34B
square
#2A55C3 #C32AA2 #C3982A #2AC34B
split-complementary
#2A55C3 #C34B2A #A2C32A
monochromatic
#14295E #1F3F91 #2A55C3 #5177D9 #839EE4

Accessibility & contrast

On white

6.59
#2A55C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2A55C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A55C3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55C3#FFFFFF#000000##FFFFFF
##2A55C31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a55c3;
/* rgb */ color: rgb(42, 85, 195);
/* oklch */ color: oklch(48.7% 0.179 264.5);
Tailwind
colors: {
  custom: {
    50: '#7c84d6',
    500: '#2a55c3',
    950: '#000000',
  },
}
SCSS
$custom: #2a55c3;
$custom-light: #7c84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55c3",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 195
  },
  "hsl": {
    "h": 223.137,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.17894,
    "h": 264.5
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#2A55C3
secondary
#CDB67B
accent
#B940E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2A55C3

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

Preview Lab → · Contrast checker → · Palette generator →

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