#2A55A6#2A55A6

#2A55A6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.139 H 261.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2A55A6
RGBrgb(42, 85, 166)
HSLhsl(219, 60%, 41%)
HSVhsv(219, 75%, 65%)
CMYKcmyk(74.7%, 48.8%, 0%, 34.9%)
CIE-LABlab(37.37, 14.22, -48.00)
CIE-LCHlch(37.37, 50.06, 286.50°)
OKLaboklab(46.48% -0.0203 -0.1378)
OKLCHoklch(46.48% 0.139 261.6)
XYZxyz(11.0838, 9.7412, 37.3651)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55A6 #A67B2A
analogous
#2A93A6 #2A55A6 #3D2AA6
triadic
#2A55A6 #A62A55 #55A62A
tetradic
#2A55A6 #A62A93 #A67B2A #2AA63D
square
#2A55A6 #A62A93 #A67B2A #2AA63D
split-complementary
#2A55A6 #A63D2A #93A62A
monochromatic
#112344 #1E3C75 #2A55A6 #3F71CE #7095DB

Accessibility & contrast

On white

7.12
#2A55A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2A55A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A55A6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55A6#FFFFFF#000000##FFFFFF
##2A55A61.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a55a6;
/* rgb */ color: rgb(42, 85, 166);
/* oklch */ color: oklch(46.5% 0.139 261.6);
Tailwind
colors: {
  custom: {
    50: '#7584c1',
    500: '#2a55a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a55a6;
$custom-light: #7584c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55a6",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 219.194,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46483,
    "c": 0.13929,
    "h": 261.6
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#2A55A6
secondary
#C2A36A
accent
#AC45E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A55A6

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

Preview Lab → · Contrast checker → · Palette generator →

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