#2B5CB7#2B5CB7

#2B5CB7 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.154 H 261.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2B5CB7
RGBrgb(43, 92, 183)
HSLhsl(219, 62%, 44%)
HSVhsv(219, 77%, 72%)
CMYKcmyk(76.5%, 49.7%, 0%, 28.2%)
CIE-LABlab(40.55, 16.27, -52.92)
CIE-LCHlch(40.55, 55.37, 287.09°)
OKLaboklab(49.29% -0.023 -0.1521)
OKLCHoklch(49.29% 0.154 261.4)
XYZxyz(13.3676, 11.5853, 46.3222)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CB7 #B7862B
analogous
#2BA2B7 #2B5CB7 #402BB7
triadic
#2B5CB7 #B72B5C #5CB72B
tetradic
#2B5CB7 #B72BA2 #B7862B #2BB740
square
#2B5CB7 #B72BA2 #B7862B #2BB740
split-complementary
#2B5CB7 #B7402B #A2B72B
monochromatic
#142A54 #1F4385 #2B5CB7 #4B7BD5 #7C9FE0

Accessibility & contrast

On white

6.33
#2B5CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2B5CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CB7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CB7#FFFFFF#000000##FFFFFF
##2B5CB71.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5cb7;
/* rgb */ color: rgb(43, 92, 183);
/* oklch */ color: oklch(49.3% 0.154 261.4);
Tailwind
colors: {
  custom: {
    50: '#7989cd',
    500: '#2b5cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cb7;
$custom-light: #7989cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cb7",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 219,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.15387,
    "h": 261.4
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#2B5CB7
secondary
#C9AB75
accent
#AC43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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