#2B5AB5#2B5AB5

#2B5AB5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.154 H 261.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2B5AB5
RGBrgb(43, 90, 181)
HSLhsl(220, 62%, 44%)
HSVhsv(220, 76%, 71%)
CMYKcmyk(76.2%, 50.3%, 0%, 29%)
CIE-LABlab(39.85, 16.82, -52.88)
CIE-LCHlch(39.85, 55.49, 287.64°)
OKLaboklab(48.71% -0.0216 -0.152)
OKLCHoklch(48.71% 0.154 261.9)
XYZxyz(12.9899, 11.1606, 45.1767)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AB5 #B5862B
analogous
#2B9FB5 #2B5AB5 #412BB5
triadic
#2B5AB5 #B52B5A #5AB52B
tetradic
#2B5AB5 #B52B9F #B5862B #2BB541
square
#2B5AB5 #B52B9F #B5862B #2BB541
split-complementary
#2B5AB5 #B5412B #9FB52B
monochromatic
#142952 #1F4184 #2B5AB5 #4979D4 #7B9DE0

Accessibility & contrast

On white

6.50
#2B5AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2B5AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AB5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AB5#FFFFFF#000000##FFFFFF
##2B5AB51.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5ab5;
/* rgb */ color: rgb(43, 90, 181);
/* oklch */ color: oklch(48.7% 0.154 261.9);
Tailwind
colors: {
  custom: {
    50: '#7888cc',
    500: '#2b5ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ab5;
$custom-light: #7888cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ab5",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 219.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48713,
    "c": 0.15358,
    "h": 261.9
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#2B5AB5
secondary
#C8AB74
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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