#2B5BA8#2B5BA8

#2B5BA8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.134 H 259.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2B5BA8
RGBrgb(43, 91, 168)
HSLhsl(217, 59%, 41%)
HSVhsv(217, 74%, 66%)
CMYKcmyk(74.4%, 45.8%, 0%, 34.1%)
CIE-LABlab(39.28, 11.18, -46.12)
CIE-LCHlch(39.28, 47.46, 283.63°)
OKLaboklab(48% -0.0245 -0.1322)
OKLCHoklch(48% 0.134 259.5)
XYZxyz(11.8027, 10.8216, 38.5049)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BA8 #A8782B
analogous
#2B9AA8 #2B5BA8 #3A2BA8
triadic
#2B5BA8 #A82B5B #5BA82B
tetradic
#2B5BA8 #A82B9A #A8782B #2BA83A
square
#2B5BA8 #A82B9A #A8782B #2BA83A
split-complementary
#2B5BA8 #A83A2B #9AA82B
monochromatic
#122647 #1F4177 #2B5BA8 #4278CF #729BDB

Accessibility & contrast

On white

6.64
#2B5BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2B5BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BA8
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BA8#FFFFFF#000000##FFFFFF
##2B5BA81.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AB
Deuteranopia (green-blind)
#1957A6
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5ba8;
/* rgb */ color: rgb(43, 91, 168);
/* oklch */ color: oklch(48.0% 0.134 259.5);
Tailwind
colors: {
  custom: {
    50: '#7588c2',
    500: '#2b5ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ba8;
$custom-light: #7588c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ba8",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 168
  },
  "hsl": {
    "h": 216.96,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47999,
    "c": 0.13442,
    "h": 259.5
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#2B5BA8
secondary
#C2A16C
accent
#A645E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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