#2B5BA2#2B5BA2

#2B5BA2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.126 H 258.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2B5BA2
RGBrgb(43, 91, 162)
HSLhsl(216, 58%, 40%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(73.5%, 43.8%, 0%, 36.5%)
CIE-LABlab(38.90, 8.89, -43.16)
CIE-LCHlch(38.90, 44.06, 281.64°)
OKLaboklab(47.59% -0.0256 -0.1234)
OKLCHoklch(47.59% 0.126 258.3)
XYZxyz(11.2566, 10.6032, 35.6288)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BA2 #A2722B
analogous
#2B97A2 #2B5BA2 #362BA2
triadic
#2B5BA2 #A22B5B #5BA22B
tetradic
#2B5BA2 #A22B97 #A2722B #2BA236
square
#2B5BA2 #A22B97 #A2722B #2BA236
split-complementary
#2B5BA2 #A2362B #97A22B
monochromatic
#112541 #1E4072 #2B5BA2 #3E77CC #6F99D9

Accessibility & contrast

On white

6.73
#2B5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2B5BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BA2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BA2#FFFFFF#000000##FFFFFF
##2B5BA21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#2357A1
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5ba2;
/* rgb */ color: rgb(43, 91, 162);
/* oklch */ color: oklch(47.6% 0.126 258.3);
Tailwind
colors: {
  custom: {
    50: '#7488be',
    500: '#2b5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ba2;
$custom-light: #7488be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ba2",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 215.798,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.12608,
    "h": 258.3
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#2B5BA2
secondary
#C09D69
accent
#A347E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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