#2B5BBB#2B5BBB

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

Color values

HEX#2B5BBB
RGBrgb(43, 91, 187)
HSLhsl(220, 63%, 45%)
HSVhsv(220, 77%, 73%)
CMYKcmyk(77%, 51.3%, 0%, 26.7%)
CIE-LABlab(40.54, 18.46, -55.27)
CIE-LCHlch(40.54, 58.27, 288.47°)
OKLaboklab(49.38% -0.0217 -0.1591)
OKLCHoklch(49.38% 0.161 262.2)
XYZxyz(13.7038, 11.5821, 48.5174)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BBB #BB8B2B
analogous
#2BA3BB #2B5BBB #432BBB
triadic
#2B5BBB #BB2B5B #5BBB2B
tetradic
#2B5BBB #BB2BA3 #BB8B2B #2BBB43
square
#2B5BBB #BB2BA3 #BB8B2B #2BBB43
split-complementary
#2B5BBB #BB432B #A3BB2B
monochromatic
#142B57 #204389 #2B5BBB #4D7BD6 #7FA0E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5BBB#FFFFFF#000000##FFFFFF
##2B5BBB1.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)
#1D67BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5bbb;
/* rgb */ color: rgb(43, 91, 187);
/* oklch */ color: oklch(49.4% 0.161 262.2);
Tailwind
colors: {
  custom: {
    50: '#7a88d0',
    500: '#2b5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bbb;
$custom-light: #7a88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bbb",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 220,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49375,
    "c": 0.16055,
    "h": 262.2
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#2B5BBB
secondary
#CAAF78
accent
#AF42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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