#2A5BB0#2A5BB0

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

Color values

HEX#2A5BB0
RGBrgb(42, 91, 176)
HSLhsl(218, 61%, 43%)
HSVhsv(218, 76%, 69%)
CMYKcmyk(76.1%, 48.3%, 0%, 31%)
CIE-LABlab(39.76, 14.12, -50.08)
CIE-LCHlch(39.76, 52.03, 285.75°)
OKLaboklab(48.53% -0.0239 -0.1438)
OKLCHoklch(48.53% 0.146 260.6)
XYZxyz(12.5296, 11.1076, 42.5495)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5BB0 #B07F2A
analogous
#2A9EB0 #2A5BB0 #3C2AB0
triadic
#2A5BB0 #B02A5B #5BB02A
tetradic
#2A5BB0 #B02A9E #B07F2A #2AB03C
square
#2A5BB0 #B02A9E #B07F2A #2AB03C
split-complementary
#2A5BB0 #B03C2A #9EB02A
monochromatic
#12284D #1E417F #2A5BB0 #4579D3 #769CDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5BB0#FFFFFF#000000##FFFFFF
##2A5BB01.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)
#2C64B3
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5bb0;
/* rgb */ color: rgb(42, 91, 176);
/* oklch */ color: oklch(48.5% 0.146 260.6);
Tailwind
colors: {
  custom: {
    50: '#7788c8',
    500: '#2a5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a5bb0;
$custom-light: #7788c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5bb0",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 218.06,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.14579,
    "h": 260.6
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#2A5BB0
secondary
#C6A670
accent
#AA43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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