#2B5CB5#2B5CB5

#2B5CB5 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.151 H 261.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2B5CB5
RGBrgb(43, 92, 181)
HSLhsl(219, 62%, 44%)
HSVhsv(219, 76%, 71%)
CMYKcmyk(76.2%, 49.2%, 0%, 29%)
CIE-LABlab(40.41, 15.51, -51.97)
CIE-LCHlch(40.41, 54.23, 286.62°)
OKLaboklab(49.15% -0.0232 -0.1493)
OKLCHoklch(49.15% 0.151 261.2)
XYZxyz(13.1609, 11.5026, 45.2337)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CB5 #B5842B
analogous
#2BA1B5 #2B5CB5 #3F2BB5
triadic
#2B5CB5 #B52B5C #5CB52B
tetradic
#2B5CB5 #B52BA1 #B5842B #2BB53F
square
#2B5CB5 #B52BA1 #B5842B #2BB53F
split-complementary
#2B5CB5 #B53F2B #A1B52B
monochromatic
#142A52 #1F4384 #2B5CB5 #497BD4 #7B9FE0

Accessibility & contrast

On white

6.36
#2B5CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2B5CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CB5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CB5#FFFFFF#000000##FFFFFF
##2B5CB51.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2866B8
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5cb5;
/* rgb */ color: rgb(43, 92, 181);
/* oklch */ color: oklch(49.1% 0.151 261.2);
Tailwind
colors: {
  custom: {
    50: '#7889cc',
    500: '#2b5cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cb5;
$custom-light: #7889cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cb5",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 218.696,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.15114,
    "h": 261.2
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#2B5CB5
secondary
#C8AA74
accent
#AB43E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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