#2B5AB2#2B5AB2

#2B5AB2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.149 H 261.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2B5AB2
RGBrgb(43, 90, 178)
HSLhsl(219, 61%, 43%)
HSVhsv(219, 76%, 70%)
CMYKcmyk(75.8%, 49.4%, 0%, 30.2%)
CIE-LABlab(39.65, 15.67, -51.44)
CIE-LCHlch(39.65, 53.78, 286.94°)
OKLaboklab(48.49% -0.022 -0.1478)
OKLCHoklch(48.49% 0.149 261.5)
XYZxyz(12.6854, 11.0388, 43.5730)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AB2 #B2832B
analogous
#2B9DB2 #2B5AB2 #3F2BB2
triadic
#2B5AB2 #B22B5A #5AB22B
tetradic
#2B5AB2 #B22B9D #B2832B #2BB23F
square
#2B5AB2 #B22B9D #B2832B #2BB23F
split-complementary
#2B5AB2 #B23F2B #9DB22B
monochromatic
#13284F #1F4181 #2B5AB2 #4878D3 #799CDF

Accessibility & contrast

On white

6.55
#2B5AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2B5AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AB2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AB2#FFFFFF#000000##FFFFFF
##2B5AB21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5ab2;
/* rgb */ color: rgb(43, 90, 178);
/* oklch */ color: oklch(48.5% 0.149 261.5);
Tailwind
colors: {
  custom: {
    50: '#7888ca',
    500: '#2b5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ab2;
$custom-light: #7888ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ab2",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 219.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.14946,
    "h": 261.5
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#2B5AB2
secondary
#C7A972
accent
#AC44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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