#2B5CB6#2B5CB6

#2B5CB6 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.152 H 261.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2B5CB6
RGBrgb(43, 92, 182)
HSLhsl(219, 62%, 44%)
HSVhsv(219, 76%, 71%)
CMYKcmyk(76.4%, 49.5%, 0%, 28.6%)
CIE-LABlab(40.48, 15.89, -52.44)
CIE-LCHlch(40.48, 54.80, 286.86°)
OKLaboklab(49.22% -0.0231 -0.1507)
OKLCHoklch(49.22% 0.153 261.3)
XYZxyz(13.2639, 11.5438, 45.7760)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CB6 #B6852B
analogous
#2BA2B6 #2B5CB6 #402BB6
triadic
#2B5CB6 #B62B5C #5CB62B
tetradic
#2B5CB6 #B62BA2 #B6852B #2BB640
square
#2B5CB6 #B62BA2 #B6852B #2BB640
split-complementary
#2B5CB6 #B6402B #A2B62B
monochromatic
#142A53 #1F4384 #2B5CB6 #4A7BD4 #7B9FE0

Accessibility & contrast

On white

6.35
#2B5CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2B5CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CB6
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CB6#FFFFFF#000000##FFFFFF
##2B5CB61.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B9
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5cb6;
/* rgb */ color: rgb(43, 92, 182);
/* oklch */ color: oklch(49.2% 0.152 261.3);
Tailwind
colors: {
  custom: {
    50: '#7889cc',
    500: '#2b5cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cb6;
$custom-light: #7889cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cb6",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 182
  },
  "hsl": {
    "h": 218.849,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.1525,
    "h": 261.3
  },
  "luminance": 0.11545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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