#2B5BAD#2B5BAD

#2B5BAD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.141 H 260.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2B5BAD
RGBrgb(43, 91, 173)
HSLhsl(218, 60%, 42%)
HSVhsv(218, 75%, 68%)
CMYKcmyk(75.1%, 47.4%, 0%, 32.2%)
CIE-LABlab(39.60, 13.10, -48.57)
CIE-LCHlch(39.60, 50.30, 285.09°)
OKLaboklab(48.35% -0.0236 -0.1393)
OKLCHoklch(48.35% 0.141 260.4)
XYZxyz(12.2774, 11.0115, 41.0054)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BAD #AD7D2B
analogous
#2B9CAD #2B5BAD #3C2BAD
triadic
#2B5BAD #AD2B5B #5BAD2B
tetradic
#2B5BAD #AD2B9C #AD7D2B #2BAD3C
square
#2B5BAD #AD2B9C #AD7D2B #2BAD3C
split-complementary
#2B5BAD #AD3C2B #9CAD2B
monochromatic
#13274B #1F417C #2B5BAD #4578D1 #769CDD

Accessibility & contrast

On white

6.56
#2B5BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2B5BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BAD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BAD#FFFFFF#000000##FFFFFF
##2B5BAD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#0C58AB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5bad;
/* rgb */ color: rgb(43, 91, 173);
/* oklch */ color: oklch(48.4% 0.141 260.4);
Tailwind
colors: {
  custom: {
    50: '#7688c6',
    500: '#2b5bad',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bad;
$custom-light: #7688c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bad",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 217.846,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.14134,
    "h": 260.4
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#2B5BAD
secondary
#C4A56F
accent
#A944E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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