#2A55AA#2A55AA

#2A55AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.145 H 262.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2A55AA
RGBrgb(42, 85, 170)
HSLhsl(220, 60%, 42%)
HSVhsv(220, 75%, 67%)
CMYKcmyk(75.3%, 50%, 0%, 33.3%)
CIE-LABlab(37.64, 15.76, -49.94)
CIE-LCHlch(37.64, 52.37, 287.51°)
OKLaboklab(46.78% -0.0197 -0.1435)
OKLCHoklch(46.78% 0.145 262.2)
XYZxyz(11.4564, 9.8902, 39.3276)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55AA #AA7F2A
analogous
#2A95AA #2A55AA #3F2AAA
triadic
#2A55AA #AA2A55 #55AA2A
tetradic
#2A55AA #AA2A95 #AA7F2A #2AAA3F
square
#2A55AA #AA2A95 #AA7F2A #2AAA3F
split-complementary
#2A55AA #AA3F2A #95AA2A
monochromatic
#122448 #1E3C79 #2A55AA #4171D0 #7296DC

Accessibility & contrast

On white

7.05
#2A55AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2A55AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A55AA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55AA#FFFFFF#000000##FFFFFF
##2A55AA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a55aa;
/* rgb */ color: rgb(42, 85, 170);
/* oklch */ color: oklch(46.8% 0.145 262.2);
Tailwind
colors: {
  custom: {
    50: '#7684c4',
    500: '#2a55aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a55aa;
$custom-light: #7684c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55aa",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 219.844,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.14487,
    "h": 262.2
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#2A55AA
secondary
#C3A66C
accent
#AE44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A55AA

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

Preview Lab → · Contrast checker → · Palette generator →

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