#2B5AB3#2B5AB3

#2B5AB3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.151 H 261.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2B5AB3
RGBrgb(43, 90, 179)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 76%, 70%)
CMYKcmyk(76%, 49.7%, 0%, 29.8%)
CIE-LABlab(39.71, 16.05, -51.92)
CIE-LCHlch(39.71, 54.35, 287.18°)
OKLaboklab(48.57% -0.0219 -0.1492)
OKLCHoklch(48.57% 0.151 261.7)
XYZxyz(12.7862, 11.0792, 44.1037)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AB3 #B3842B
analogous
#2B9EB3 #2B5AB3 #402BB3
triadic
#2B5AB3 #B32B5A #5AB32B
tetradic
#2B5AB3 #B32B9E #B3842B #2BB340
square
#2B5AB3 #B32B9E #B3842B #2BB340
split-complementary
#2B5AB3 #B3402B #9EB32B
monochromatic
#132850 #1F4182 #2B5AB3 #4878D3 #799DDF

Accessibility & contrast

On white

6.53
#2B5AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5AB3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AB3#FFFFFF#000000##FFFFFF
##2B5AB31.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5ab3;
/* rgb */ color: rgb(43, 90, 179);
/* oklch */ color: oklch(48.6% 0.151 261.7);
Tailwind
colors: {
  custom: {
    50: '#7888ca',
    500: '#2b5ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ab3;
$custom-light: #7888ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ab3",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 219.265,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48565,
    "c": 0.15084,
    "h": 261.7
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

primary
#2B5AB3
secondary
#C7AA73
accent
#AD43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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