#2B5BA4#2B5BA4

#2B5BA4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.7% C 0.129 H 258.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2B5BA4
RGBrgb(43, 91, 164)
HSLhsl(216, 58%, 41%)
HSVhsv(216, 74%, 64%)
CMYKcmyk(73.8%, 44.5%, 0%, 35.7%)
CIE-LABlab(39.03, 9.65, -44.15)
CIE-LCHlch(39.03, 45.19, 282.33°)
OKLaboklab(47.73% -0.0253 -0.1264)
OKLCHoklch(47.73% 0.129 258.7)
XYZxyz(11.4358, 10.6748, 36.5725)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BA4 #A4742B
analogous
#2B97A4 #2B5BA4 #372BA4
triadic
#2B5BA4 #A42B5B #5BA42B
tetradic
#2B5BA4 #A42B97 #A4742B #2BA437
square
#2B5BA4 #A42B97 #A4742B #2BA437
split-complementary
#2B5BA4 #A4372B #97A42B
monochromatic
#122543 #1E4074 #2B5BA4 #3F77CD #709AD9

Accessibility & contrast

On white

6.70
#2B5BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2B5BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BA4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BA4#FFFFFF#000000##FFFFFF
##2B5BA41.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#2057A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5ba4;
/* rgb */ color: rgb(43, 91, 164);
/* oklch */ color: oklch(47.7% 0.129 258.7);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2b5ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ba4;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ba4",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 216.198,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.12886,
    "h": 258.7
  },
  "luminance": 0.10676
}

Semantic roles & 50–950 ramp

primary
#2B5BA4
secondary
#C19E6A
accent
#A446E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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