#2B5DBB#2B5DBB

#2B5DBB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.158 H 261.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2B5DBB
RGBrgb(43, 93, 187)
HSLhsl(219, 63%, 45%)
HSVhsv(219, 77%, 73%)
CMYKcmyk(77%, 50.3%, 0%, 26.7%)
CIE-LABlab(41.10, 17.15, -54.37)
CIE-LCHlch(41.10, 57.01, 287.51°)
OKLaboklab(49.8% -0.0232 -0.1564)
OKLCHoklch(49.8% 0.158 261.6)
XYZxyz(13.8770, 11.9286, 48.5751)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DBB #BB892B
analogous
#2BA5BB #2B5DBB #412BBB
triadic
#2B5DBB #BB2B5D #5DBB2B
tetradic
#2B5DBB #BB2BA5 #BB892B #2BBB41
square
#2B5DBB #BB2BA5 #BB892B #2BBB41
split-complementary
#2B5DBB #BB412B #A5BB2B
monochromatic
#142C57 #204489 #2B5DBB #4D7DD6 #7FA1E2

Accessibility & contrast

On white

6.20
#2B5DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B5DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DBB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DBB#FFFFFF#000000##FFFFFF
##2B5DBB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5dbb;
/* rgb */ color: rgb(43, 93, 187);
/* oklch */ color: oklch(49.8% 0.158 261.6);
Tailwind
colors: {
  custom: {
    50: '#7a8ad0',
    500: '#2b5dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dbb;
$custom-light: #7a8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dbb",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 219.167,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.15809,
    "h": 261.6
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#2B5DBB
secondary
#CAAE78
accent
#AD42E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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