#2A55A3#2A55A3

#2A55A3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.135 H 261.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2A55A3
RGBrgb(42, 85, 163)
HSLhsl(219, 59%, 40%)
HSVhsv(219, 74%, 64%)
CMYKcmyk(74.2%, 47.9%, 0%, 36.1%)
CIE-LABlab(37.17, 13.06, -46.53)
CIE-LCHlch(37.17, 48.33, 285.68°)
OKLaboklab(46.27% -0.0207 -0.1335)
OKLCHoklch(46.27% 0.135 261.2)
XYZxyz(10.8118, 9.6324, 35.9327)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55A3 #A3782A
analogous
#2A91A3 #2A55A3 #3C2AA3
triadic
#2A55A3 #A32A55 #55A32A
tetradic
#2A55A3 #A32A91 #A3782A #2AA33C
square
#2A55A3 #A32A91 #A3782A #2AA33C
split-complementary
#2A55A3 #A33C2A #91A32A
monochromatic
#112242 #1D3C72 #2A55A3 #3D70CD #6E94DA

Accessibility & contrast

On white

7.18
#2A55A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2A55A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A55A3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55A3#FFFFFF#000000##FFFFFF
##2A55A31.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA6
Deuteranopia (green-blind)
#0B52A1
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a55a3;
/* rgb */ color: rgb(42, 85, 163);
/* oklch */ color: oklch(46.3% 0.135 261.2);
Tailwind
colors: {
  custom: {
    50: '#7484bf',
    500: '#2a55a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a55a3;
$custom-light: #7484bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55a3",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 163
  },
  "hsl": {
    "h": 218.678,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46266,
    "c": 0.13508,
    "h": 261.2
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#2A55A3
secondary
#C0A168
accent
#AB46E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A55A3

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

Preview Lab → · Contrast checker → · Palette generator →

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